| withCachedResults | R Documentation |
Sets the cacheAs mode (see cacheAs) while expr is evaluated and puts it
back afterwards, so that a whole document can be knitted from the files that
are there, without a stray options() call outliving it.
withCachedResults(expr, mode = c("reuse", "offline"))
expr |
the code to evaluate |
mode |
|
the value of expr
Other cacheAs:
blessCacheAs(),
cacheAsInfo()
## Not run:
withCachedResults({
ca <- KorAPConnection() |> collocationAnalysis("Klima", cacheAs = "klima.rds")
freq <- KorAPConnection() |> frequencyQuery("Klima", cacheAs = "klima-freq.rds")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.