| FileSet-class | R Documentation |
This reference class manages sets of related files based on a common file stem and required and/or optional suffixes. It is designed for handling alternative file formats or composite file types. The class represents the group of file formats in the abstract; its methods handle specific files and support operations such as copying, moving, symlinking, validating and deleting those files, ensuring that all constituent files are handled consistently.
formatsA named list mapping format names to required file suffixes.
validatorsAn optional named list of validation functions for some or all of the supported formats.
auxiliariesA character vector of optional auxiliary file suffixes.
atPaths(paths)Return a handle object to manipulate files at specific paths
fileStem(paths)Obtain a file stem for each specified path, dropping format-specific suffixes
findFormat(paths, intent = c("read", "write"), preference = NULL,
all = FALSE)Identify and potentially validate files to find the format used at specific paths
resolvePaths(paths)Perform any special path handling and resolve final paths
subset(match, ...)Create a variant object that only encapsulates the specified subset of formats
ImageFileSet is a subclass specialised for
image files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.