Change to different folder
Like cd
in a file system, this function takes you to a different folder,
given a relative path specification.
cd(x, path, create = FALSE)
x |
A |
path |
A character "path" to the folder: either a
vector of nested folder names or a single string with nested folders
separated by a delimiter ("/" default, configurable via
|
create |
logical: if the folder indicated by |
A Folder
(VariableFolder
or ProjectFolder
)
mv()
to move entities to a folder; rmdir()
to delete a folder;
base::setwd()
if you literally want to change your working
directory in your local file system, which cd()
does not do
## Not run: ds <- loadDataset("Example survey") demo <- cd(ds, "Demographics") names(demo) # Or with %>% require(magrittr) ds <- ds %>% cd("Demographics") %>% names() # Can combine with mv() and move things with relative paths ds %>% cd("Key Performance Indicators/Brand X") %>% mv("nps_x", "../Net Promoters") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.