createDir: Create directories

Description Usage Arguments Value Examples

Description

Wrapper around the base function dir.create that allows creation of multiple directories simultaneously in a recursive fashion without warning messages

Usage

1
createDir(dir.names)

Arguments

dir.names

character vector of the directory paths to be created

Value

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. createDir will will fail if the directory already exists.

Examples

1
2
3
4
## Not run: 
createDir("testdir")

## End(Not run)

anilchalisey/juggleR documentation built on May 9, 2019, 4 a.m.