Downloads an R workspace file (.RData or .rda) stored in a
MinIO bucket and loads its contents into an isolated environment.
Internally, the function retrieves the object contents as raw bytes using
minio_get_object, writes them to a temporary file, and then
delegates deserialization to load.
Details
To avoid polluting the caller's environment, all objects are loaded into a
new, empty environment and then returned as a named list. Each list
element corresponds to one object stored in the .RData/.rda
file.
Unlike minio_get_rds(), which returns a single R object, this function
always returns a collection of objects, making it suitable for archived
workspaces or multi-object snapshots.
Examples
if (FALSE) { # \dontrun{
objs <- minio_get_rdata(
bucket = "assets",
object = "snapshots/data.RData"
)
names(objs)
df <- objs$df
} # }
