Learn R Programming

dynutils (version 1.0.11)

safe_tempdir: Create an empty temporary directory and return its path

Description

Create an empty temporary directory and return its path

Usage

safe_tempdir(subfolder)

Arguments

subfolder

Name of a subfolder to be created

Examples

Run this code
if (FALSE) {
safe_tempdir("samson")
# "/tmp/Rtmp8xCGJe/file339a13bec763/samson"
}

Run the code above in your browser using DataLab