mkdir: Make Directory

Description Usage Arguments Value Author(s) Examples

View source: R/utilities.R

Description

Create a directory using either a relative path or an absolute path.

Usage

1
mkdir(dir, r = TRUE)

Arguments

dir

A string indicating the directory to make.

r

A boolean that indicates whether the directories should be made recursively

Value

New directory on file system

Author(s)

James Balamuta

Examples

1
2
3
4
5
6
# Make directory from working directory
mkdir("toad")

## This assumes the computer is on Windows and the C drive exists.
# Make directory from absolute path
mkdir("C:/path/to/dir/toad")

jjb documentation built on Jan. 8, 2020, 5:07 p.m.