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.
dir.create
is the base function to create a new directory.
rmdir
removes an empty directory.
clean
can be used to remove non-empty directories.
icesTAF-package
gives an overview of the package.
# NOT RUN {
mkdir("emptydir")
rmdir("emptydir")
mkdir("outer/inner")
rmdir("outer", recursive=TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab