Description Usage Arguments Value Author(s)
This is a wrapper around base::dir.create
, which
creates directories.
1 |
path |
a character vector containing a single path name. Tilde
expansion (see |
showWarnings |
logical; should the warnings on failure be shown? |
recursive |
logical. Should elements of the path other than the
last be created? If true, like the Unix command |
mode |
the mode to be used on Unix-alikes: it will be
coerced by |
mkdir returns invisibly a logical vector
indicating if the operation succeeded for each of the files
attempted. Using a missing value for a path name will always be
regarded as a failure. dir.create
indicates failure if the
directory already exists. If showWarnings = TRUE
, dir.create
will give a warning for an unexpected failure (e.g. not for a
missing value nor for an already existing component for recursive
= TRUE
).
Ross Ihaka, Brian Ripley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.