tempFolder | R Documentation |
Searches for a named file system, and creates a temporary folder
tempFolder(foldername, tmpRoot = "/tmp")
removeTempFolder(path)
foldername |
The wanted leaf node name for the created folder path |
tmpRoot |
A character string of length 1, containing 1 or more possible file system temporary storage paths, separated by commas |
path |
The full pathname to the temp folder to be removed |
This tries to allow creation of temporary storage in a OS independant manner, by allowing a multiplicity of named temporary storage paths. The first 'found' path is selected. No attempt to assess the quantity of free storage space is attempted.
For tempFolder()
, a full pathname to a valid file system location, after creating that folder and verifying its creation.
For removeTempFolder()
, no return value, but the named folder subtree and all its contents is deleted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.