brokamp-group / s3

More efficient downloading and usage of files hosted on AWS S3
http://brokamp-group.github.io/s3/
Other
3 stars 2 forks source link

in R > 4.0, we could use `R_user_dir()` as an alternative built in suggestion for where to centrally store files without requiring the rappsdir package #12

Closed cole-brokamp closed 3 years ago

cole-brokamp commented 3 years ago

New function R_user_dir() in package tools suggests paths appropriate for storing R-related user-specific data, configuration and cache files.

cole-brokamp commented 3 years ago
R > tools::R_user_dir("s3")

"/Users/cole/Library/Application Support/org.R-project.R/R/s3"
cole-brokamp commented 3 years ago

make sure to recursively create this directory if it doesn't already exist!

cole-brokamp commented 3 years ago

its too soon to rely on users R with version at least 4.0 ... maybe one day