Creates a directory

Rename directory

Copy directory

Logical test of whether directory exists

dir_create(path, recursive = FALSE)

dir_remove(path)

dir_rename(from, to)

dir_copy(from, to)

dir_exists(path)

Arguments

path

Path/name of directory to create

recursive

Logical indicating whether to recursively create new directory. This defaults to FALSE.

from

Name of directory to rename/copy

to

New directory

Value

Silently returns logical indicating success.

Logical indicating whether success

Logical value with TRUE indicating it exists

See also

Other exists: file_create