View source: R/utils-immediateCondition.R
readImmediateConditions | R Documentation |
Writes and Reads 'immediateCondition' RDS Files
readImmediateConditions(
path = immediateConditionsPath(rootPath = rootPath),
rootPath = tempdir(),
pattern = "[.]rds$",
include = getOption("future.relay.immediate", "immediateCondition"),
signal = FALSE,
remove = TRUE
)
saveImmediateCondition(
cond,
path = immediateConditionsPath(rootPath = rootPath),
rootPath = tempdir()
)
path |
(character string) The folder where the RDS files are. |
pattern |
(character string) A regular expression selecting the RDS files to be read. |
include |
(character vector) The class or classes of the objects to be kept. |
signal |
(logical) If TRUE, the condition read are signaled. |
remove |
(logical) If TRUE, the RDS files used are removed on exit. |
cond |
A condition of class |
readImmediateConditions()
returns a base::list of
immediateCondition
objects.
saveImmediateCondition()
returns, invisibly, the pathname of
the RDS written.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.