Description Usage Arguments Value Author(s) See Also Examples
This can be set and gotten with these functions, or all functions can take
an argument, lazyDir, manually. lazyDir()
is a shorthand for lazyDir()
.
lazyDir("someDir")
is a shorthand for lazyDir("someDir")
1 2 3 4 5 6 7 8 9 | .setLazyDir(lazyDir, create = FALSE)
.getLazyDir()
lazyDir(lazyDir = NA, create = FALSE)
setLazyDir(lazyDir, create = TRUE)
getLazyDir(lazyDir, create = TRUE)
|
lazyDir |
Character string of directory to be used for the lazy databases.
If |
create |
Logical, passed to checkLazyDir, i.e., it will create dir if it doesn't exist. Default is FALSE. |
New lazyDir created (for lazyDir
) or currently active lazyDir returned.
Eliot McIntire
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | lazyDir() # Returns NULL if not set
# Set new lazyDir
lazyDir(file.path(tempdir(), "lazyDir"), create=TRUE)
# Check new value
lazyDir()
a <- rnorm(10)
lazySave(a) # add to lazyDir
lazyRm("a") # remove object from lazyDir
lazyDir(NULL) # removes currently set lazyDir
lazyDir() # confirm removal
unlink(file.path(tempdir(), "lazyDir"), recursive=TRUE) # remove folder and lazyDir
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.