temp_path {path.chain}R Documentation

Construct path to file in a temporary directory

Description

Construct path to file in a temporary directory

Usage

temp_path(..., fsep = .Platform$file.sep)

Arguments

...

arbitrary character objects

fsep

the path separator to use.

Details

Be careful: if you call this function, it only creates a path for temporary file/dir. All the rest has to be created on your own, e.g. calling dir.create function.

Value

a path

Examples

temp_path("files", "report.csv")

[Package path.chain version 0.2.0 Index]