Saves data to file cache
Saves data to file cache, which is unique for an optional key object.
## Default S3 method: saveCache(object, key=NULL, sources=NULL, suffix=".Rcache", comment=NULL, pathname=NULL, dirs=NULL, compress=NULL, ...)
object |
The object to be saved to file. |
key |
An optional object from which a hexadecimal hash code will be generated and appended to the filename. |
sources |
Source objects used for comparison of timestamps when cache is loaded later. |
suffix |
A |
comment |
An optional |
pathname |
(Advanced) An optional |
dirs |
A |
compress |
If |
... |
Additional argument passed to |
Returns (invisible) the pathname of the cache file.
Henrik Bengtsson
For more details on how the hash code is generated etc, loadCache
().
## Not run: For an example, see ?loadCache
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.