R.utils (version 1.33.0)

mkdirs: Creates a directory including any necessary but nonexistent parent directories

Description

Creates a directory including any necessary but nonexistent parent directories.

Usage

## S3 method for class 'default':
mkdirs(pathname, ...)

Arguments

pathname
A character string of the pathname to be checked.
...
Not used.

Value

  • Returns TRUE if the directory was succesfully created, otherwise FALSE. Note that if the directory already exists, FALSE is returned.

See Also

Internally dir.create() is used.