Software
Placeholder

rappdirs

Find OS-specific directories to store data, caches, and logs. A port of python's AppDirs

R

The rappdirs package helps R developers find the correct platform-specific directories for storing application data like caches, logs, and user files. It automatically returns the appropriate paths for Linux, macOS, and Windows following each operating system’s conventions.

The package solves the problem of where to store persistent data across R sessions while complying with CRAN policies. It provides functions for user data directories, config directories, cache directories, site data directories, and log directories, ensuring your application uses the standard locations that users and operating systems expect. This is particularly valuable for package developers who need cross-platform file storage without hardcoding paths.

Contributors