Creates directories (suppressing warnings and creates parents by default) mkdir Takes a character vector of directories and creates them.

Description

Creates directories (suppressing warnings and creates parents by default) mkdir Takes a character vector of directories and creates them.

Usage

1
  mkdir(directory, parents = TRUE, mode = "0777")

Arguments

directory

Character vector of directories to create

parents

If TRUE (the default) create parent directories if they do not exist

mode

mode to be used on Unix-alikes

Value

Returns invisibly a logical vector indicating if the operation succeeded for each directory attempted, as a side effect creates directories.

See Also

dir.create