Closed miy059 closed 5 years ago
Hi Miao,
you need to install the package under your own R library. First, check the library path you have by
$ R
> .libPaths()
[1] "/opt/R/local/lib"
[2] "/home/r3fang/R/x86_64-pc-linux-gnu-library/3.4"
[3] "/opt/R/lib64/R/library"
In the above example, the primary path is "/opt/R/local/lib" which you do not have permission to install all the dependency, to install SnapATAC
to you local library directory:
> library(devtools);
> with_libpaths(new = "/home/r3fang/R/x86_64-pc-linux-gnu-library/3.4", install_github('r3fang/SnapATAC'));