Learn R Programming

readtext (version 0.91)

get_temp: Get path to temporary file or directory

Description

Get path to temporary file or directory

Usage

get_temp(prefix = "readtext-", temp_dir = NULL, directory = FALSE, seed = NULL)

Arguments

prefix

a string appended to random file or directory names.

temp_dir

a path to temporary directory. If NULL, value from tempdir() will be used.

directory

logical; if TRUE, temporary directory will be created.

seed

a seed value for digest::digest. If NULL, a random value will be used.