ExperimentHub downloading files to home directory (~)
1
0
Entering edit mode
@storybenjamin-11722
Last seen 21 days ago
Germany

I keep all my R packages in a specific location that is not my home directory.

For some reason when ExperimentHub was downloading (through biocLite call) it decided to push files to ~/.ExperimentHub... but my server doesn't allow users to surpass a certain amount of space (in their homes) so that process got nuked.

I don't feel like a package should be writing to somewhere that wasn't originally specified? It is also not the R tempdir() or .libPaths()

I'm not sure if this is the right place to report something like this... please let me know where to I should post this if not. Maybe the github page?

ExperimentHub • 274 views
ADD COMMENT
2
Entering edit mode
shepherl 2.9k
@lshep
Last seen 16 hours ago
United States

We agree and have actually just pushed changes this past week in devel that uses the rappdirs::user_cache_dir to decide the directory. This function utilizes "Typical user cache directories" now as default. Keep in mind the directory (of the older versions of ExperimentHub and new) can be altered by specifying the directory in the constructor.

ADD COMMENT
0
Entering edit mode

See also ?setExperimentHubOption for setting the cache to an arbitrary location via EXPERIMENT_HUB_CACHE as a system environment variable, as an R option, or through the ExperimentHub interface.

ADD REPLY

Login before adding your answer.

Traffic: 365 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6