seurat-data
seurat-data copied to clipboard
A neat solution for `no access to remote SeuratData repository`
Many have run into this error:
Using cached data manifest, last updated at 2021-09-13 15:27:39
Error: No access to remote SeuratData repository, unable to install new datasets
A reason (esp for those in mainland China) can be the wall. A popular solution is a proxy.
How to set up proxy to insall seurat-data?
- Set the environment variable
http_proxy
andhttps_proxy
, by eitherexport
(in bash),set
(in cmd), orSys.setenv
(in R). - Set options so that install.packages uses
curl
(which automatically recognizes*_proxy
:options(download.file.method = "curl")
- Install:
install.packages("ifnb.SeuratData", repos= "https://seurat.nygenome.org", type="source")
Hope that an update of this package can bring this solution to trashbin.
Before that day (or any other better solution), I hope to keep the state of this issue being open so that people in need can find it.