workdir: Get, set and clean the xdf tbl directory

Description Usage Arguments Details See Also

Description

By default, dplyrXdf will save the xdf files it creates in the R temporary directory. This can be a problem if it is in a location with limited disk space. Use set_dplyrxdf_dir to change the xdf tbl directory, and get_dplyrxdf_dir to view it.

Usage

1
2
3
4
5
set_dplyrxdf_dir(path, fileSystem = rxGetFileSystem())

get_dplyrxdf_dir(fileSystem = rxGetFileSystem())

clean_dplyrxdf_dir(fileSystem = rxGetFileSystem())

Arguments

path

Location in which to save xdf tbls. If missing, defaults to the R temporary directory.

fileSystem

The filesystem for which to set or get the tbl directory; can be either "hdfs" or "native". Currently only the native (local) filesystem is supported.

Details

If path is supplied, set_dplyrxdf_dir creates a new directory (with a unique name) located under path. This ensures that the files managed by dplyrXdf are properly isolated from the rest of the filesystem.

clean_dplyrxdf_dir is a utility function to delete the files generated by dplyrXdf. Note that all files in the specified location will be removed!

See Also

rxGetFileSystem, rxSetFileSystem


RevolutionAnalytics/dplyrXdf documentation built on June 3, 2019, 9:08 p.m.