cleanup: Clean up OpenCPU files from disk

Description Usage Arguments

Description

OpenCPU stores a library with recent sessions and packages on disk. These files are stored in the temporary directory, so on most systems they are wiped on reboot. The cleanup function can be used to manually force removal of temporary files from disk.

Usage

1
cleanup(what = c("tmp", "gist", "github", "cran", "bioc"), maxage = 10 * 60)

Arguments

what

What to clean up? Values correspond to API /ocpu/:what/

maxage

The maximum age (in seconds) for a directory to exempted from deletion.



Search within the opencpu package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.