Description Usage Arguments Details Value Author(s)
Set/Get cache directory where files are stored
1 2 | 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 (".").
This function should generally be called in the very first code chunk
of the Sweave document and caching should not be turned on for
that code chunk.
getCacheDir
returns the current cache directory.
Roger D. Peng rpeng@jhsph.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.