R/datasets.R
mount_file_dataset.Rd
Create a context manager for mounting file streams defined by the dataset as local files.
A context manager will be returned to manage the lifecycle of the mount.
To mount, you will need to enter the context manager and to unmount, exit from
the context manager. Mount is only supported on Unix or Unix-like operating systems
and libfuse must be present. If you are running inside a docker container, the docker
container must be started with the --privileged
flag or started with
--cap-add SYS_ADMIN --device /dev/fuse
.
mount_file_dataset(dataset, mount_point = NULL)
dataset | The Dataset object. |
---|---|
mount_point | The local directory to mount the files to. If NULL, the data will be mounted into a temporary directory. |
Returns a context manager for managing the lifecycle of the mount of
type azureml.dataprep.fuse.daemon.MountContext
.