[Bioc-devel] BiocFileCache for developers
Sean Davis
seandavi at gmail.com
Fri Dec 1 17:06:39 CET 2017
On Fri, Dec 1, 2017 at 10:28 AM, Michael Love <michaelisaiahlove at gmail.com>
wrote:
> hi,
>
> I'm writing a function which currently uses BiocFileCache to store a
> small data.frame and one or more TxDb objects, so that these objects
> are persistent and available across sessions (or possible available to
> multiple users).
>
> In the simplest case, I would call
>
> bfc <- BiocFileCache()
>
> inside my function, which will check the default location:
>
> user_cache_dir(appname = "BiocFileCache")
>
> In general, should developers also support the user specifying a
> specific location for the BiocFileCache? So functions using
> BiocFileCache should have an argument that overrides the above
> location?
>
On some systems, the user home directory is not large (such as on HPC
systems) or has strong quotas. The default user_cache_dir may not be the
best choice there.
Sean
>
> thanks,
> Mike
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
--
Sean Davis, MD, PhD
Center for Cancer Research
National Cancer Institute
National Institutes of Health
Bethesda, MD 20892
https://seandavi.github.io/
https://twitter.com/seandavis12
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list