setCacheDir {cacheSweave} | R Documentation |
Set/Get cache directory where files are stored
setCacheDir(path) getCacheDir()
path |
character, directory where cache files will be stored |
setCacheDir
will create the cache directory if it does not
already exist. When the package cacheSweave
is loaded, the
cache directory is initially set to the current directory (".").
getCacheDir
returns the current cache directory.
Roger D. Peng rpeng@jhsph.edu