powered by
Create directory, including parent directories if necessary, without generating a warning if the directory already exists.
mkdir(path)
a directory name.
TRUE for success, FALSE for failure, invisibly.
TRUE
FALSE
dir.create is the base function to create an empty directory.
dir.create
unlink with recursive = TRUE removes directories.
unlink
recursive = TRUE
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { mkdir("emptydir") unlink("emptydir", recursive=TRUE) mkdir("outer/inner") unlink("outer/inner", recursive=TRUE) # } # NOT RUN { # }
Run the code above in your browser using DataLab