Hi guys!
I was wondering where the datasets downloaded by AnnotationHub are locally saved. I was practicing with different datasets and I realized that there is only 6GB of free space on my drive C. I have two questions:
- Where the datasets are downloaded and how can I clear those files?
- How can I change the default path used by AnnotationHub so I could save the downloaded data elsewhere.
I would appreciate it if you could help me with this problem.
Thank you so much Mike. It was a great help. I am using Windows. I couldn't find the ".Rprofile" file. Is there any other way to change the environmental variable by Windows cmd?
Thinking about it a bit more, this would be better set in the file .Renviron - that's specifically for setting environment variables. I can't remember the location of .Renviron on Windows, but my suggestion would be to install the usethis package with
install.packages('usethis')
and then runusethis::edit_r_environ()
. That should open the appropriate file in an editor for you.You set the variable with a line like
ANNOTATION_HUB_CACHE=</my/annotationhub/cache/location/>