Learn R Programming

datamart (version 0.5.2)

DirectoryLocation-class: Directory location

Description

The show method for the DirectoryLocation class has been adapted to display the path.

The dirloc function creates a DirectoryLocation object.

Usage

dirloc(path, clss = "DirectoryLocation")

Arguments

path
character, pointing to an existing directory. Required.
clss
character, optional class name. Default is "DirectoryLocation".

Details

The as.character method for the DirectoryLocation class returns the path to the directory it represents.

The meta method for the DirectoryLocation class returns the output of file.info of the folder.

See Also

dirloc

Examples

Run this code
getSlots("DirectoryLocation")

Run the code above in your browser using DataLab