R_user_dir: Determine the Per-User Directory for R Package Data, Config,...

View source: R/utils.R

R_user_dirR Documentation

Determine the Per-User Directory for R Package Data, Config, or Cache

Description

Determine the per-user directory where packages can store data, configuration files, or caches.

Usage

R_user_dir(package, which = c("data", "config", "cache"))

Arguments

package

Character string giving the package name.

which

Character string specifying the directory type. Must be one of "data", "config", or "cache".

Value

A character string giving the full path to the package-specific per-user directory.


ct documentation built on Oct. 22, 2026, 1:07 a.m.