readtext (version 0.71)

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

If TRUE, temporary directory wil be created.

seed

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