Description Usage Arguments Value Examples
Given an R object, attempts to store it in the directory
basepath/fname
. The name given to the file will be of the form
DATE.rds
, where DATE
is of the format
%Y_%m_%d_%H_%M
. An error will be thrown if basepath
does
not exist. However, if basepath/fname
does not exist, an attempt will
be made to create it. The DATE
is the current time. Intended to be
used with retrieveRDS
. See mostRecentTimestamp
for an usage example.
1 | storeRDS(obj, fname, basepath = ".")
|
obj |
An R object |
fname |
The name of the directory in |
basepath |
A string. The path which stores |
A message announcing the path the object has been written to
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.