Question: ExperimentHub downloading files to home directory (~)
0
gravatar for story.benjamin
10 weeks ago by
story.benjamin10 wrote:

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 • 73 views
ADD COMMENTlink modified 10 weeks ago by shepherl ♦♦ 1.4k • written 10 weeks ago by story.benjamin10
Answer: ExperimentHub downloading files to home directory (~)
1
gravatar for shepherl
10 weeks ago by
shepherl ♦♦ 1.4k
United States
shepherl ♦♦ 1.4k wrote:

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 COMMENTlink written 10 weeks ago by shepherl ♦♦ 1.4k

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 REPLYlink written 10 weeks ago by Martin Morgan ♦♦ 23k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 258 users visited in the last hour