cachePut | R Documentation |
Save data to cache
cachePut(x, prefix, type, fname, callString)
x |
data that should be written to cache |
prefix |
function prefix (e.g. "calc" or "read") |
type |
output type (e.g. "TauTotal") |
fname |
The name of the cache file to be written. |
callString |
A string representation of the function call that leads to the cache file being written. Will be attached as an attribute. |
Jan Philipp Dietrich, Pascal Sauer
cachePut
, cacheName
## Not run:
fname <- madrat:::cacheName("calc", "Example")
madrat:::cachePut(1, "calc", "Example", fname, 'calcOutput("Example")')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.