create_temp_dir {path.chain}R Documentation

Create temporary diectory and return its name

Description

Create temporary diectory and return its name

Usage

create_temp_dir(..., warn = FALSE, recursive = FALSE,
  fsep = .Platform$file.sep)

Arguments

...

arbitrary character objects

warn

warn, if folder already exists

recursive

ogical. Should elements of the path other than the last be created? If true, like the Unix command mkdir -p

fsep

the path separator to use

Examples

# Simply create and return temporal directory
create_temp_dir()
# Create temp dir and return concatenated path
# Keep in mind, that 'files' and 'report_2020.xls' will not be created.
create_temp_dir("files", "report_2020.xls")

[Package path.chain version 0.2.0 Index]