Description Usage Arguments Details Value Examples
View source: R/utility_functions.R
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.
1 2 3 4 5 6 | scratch_dir(
set = NULL,
random_subfolder = FALSE,
file_name = FALSE,
wipe_scratch = FALSE
)
|
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 |
If not specified, the default R tempdir is used
the current location of the scratch directory
1 2 | scratch_dir()
scratch_dir("R:")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.