get_temp_dirname: Retrieve a temporary directory name

View source: R/file.R

get_temp_dirnameR Documentation

Retrieve a temporary directory name

Description

This fucntion attempts to create uniquely name directories.

Usage

get_temp_dirname(pattern = "", ramdisk = file.exists("/dev/shm"),
  create = TRUE)

Arguments

pattern

character if provided this will be prepended on the temp directory returned

ramdisk

logical if TRUE, then try to get a path into the ramdisk first, if not available then use the standard tempdir

create

logical if TRUE then create the path

Value

the fully qualified temporary path

See Also

Other FILE: cp_dir, file_parts, get_temp_filename, rsync_dirs


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.