View source: R/saveLoadSimList.R
| loadSimList | R Documentation |
simList and ancillary filesLoading a simList from file can be problematic as there are non-standard
objects that must be rebuilt. See description in saveSimList() for details.
unzipSimList is a convenience wrapper around unzip and loadSimList where
all the files are correctly identified and passed to
loadSimList(..., otherFiles = xxx). See zipSimList for details.
loadSimList(
filename,
projectPath = getwd(),
tempPath = tempdir(),
paths = NULL,
otherFiles = "",
verbose = getOption("reproducible.verbose")
)
unzipSimList(zipfile, load = TRUE, paths = getPaths(), ...)
filename |
Character giving the name of a saved simulation file.
Currently, only file types |
projectPath |
An optional path for the project within which the |
tempPath |
A character string specifying the new base directory for the
temporary paths maintained in a |
paths |
A list of character vectors for all the |
otherFiles |
A character vector of (absolute) file names locating each of the
existing file-backed |
verbose |
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
option, e.g., |
zipfile |
Filename of a zipped |
load |
Logical. If |
... |
passed to |
If cache is used, it is likely that it should be trimmed before
zipping, to include only cache elements that are relevant.
For loadSimList(), a simList object.
For unzipSimList(), either a character vector of file names unzipped
(if load = FALSE), or a simList object.
saveSimList(), zipSimList()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.