scratch_dir {vmeasur}R Documentation

Set the scratch directory for vmeasur

Description

vmeasur uses av to unpack temporary image files, which are then stored for further usage. This runs better if done to a high speed storage location such as a ram drive. This function sets that directory, and provides other options for specifying the structure of this temporary data.

Usage

scratch_dir(
  set = NULL,
  random_subfolder = FALSE,
  file_name = FALSE,
  wipe_scratch = FALSE
)

Arguments

set

new directory to set. If left blank, no directory change will occur

random_subfolder

Should a random sub folder be created

file_name

Specify the name of the directory

wipe_scratch

Should the folder be cleared before use

Details

If not specified, the default R tempdir is used

Value

the current location of the scratch directory

Examples

scratch_dir()
scratch_dir("R:")


[Package vmeasur version 0.1.4 Index]