Learn R Programming

path.chain (version 1.0.0)

temp_path: Construct path to file in a temporary directory

Description

Construct path to file in a temporary directory

Usage

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

Value

a path

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.

Examples

Run this code
temp_path("files", "report.csv")

Run the code above in your browser using DataLab