Find where an R program should save data, caches and logs
open sourceMITfree
rappdirs is an R package that tells a program which directories on the user's computer to use for its data, caches and logs, following each operating system's conventions. It's a port of Python's appdirs.
Problems it solves
- find the right cache directory for an R package
- store user data in the correct place on each OS from R
- where should my R app write its logs
Features
- user data, cache and log directories
- follows each OS's conventions
- port of Python's appdirs
