Closed mahnooratwork closed 2 years ago
Hi,
Not a dev from Seurat but can you explain what "remotely from a terminal" means ? Are you trying to install it on a server ? The error explains the issue, you may need to manually install the dependencies such as RcppEigen before installing Seurat. An easy way to install Seurat without much concerns about dependencies is to use a conda environment.
Best,
Hello,
I mean that I ssh into a remote server and access R from the command line. I have tried manually installing rgeos and sctransform but got the same error. Below is the output I got when I tried RcppEigen:
`
install_github("RcppCore/RcppEigen") Downloading GitHub repo RcppCore/RcppEigen@HEAD checking for file ‘/tmp/RtmpBinP6U/remotes346df5d489022/RcppCore-RcppEigen-97✔ checking for file ‘/tmp/RtmpBinP6U/remotes346df5d489022/RcppCore-RcppEigen-97e7b7f/DESCRIPTION’ (808ms) ─ preparing ‘RcppEigen’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories (569ms) ─ building ‘RcppEigen_0.3.3.9.2.tar.gz’ Warning: file 'RcppEigen/cleanup' did not have execute permissions: corrected Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'
Installing package into ‘/gpfs/fs1/home/a/alim/mhamid/R/x86_64-pc-linux-gnu-library/4.0’ (as ‘lib’ is unspecified) ERROR: failed to lock directory ‘/gpfs/fs1/home/a/alim/mhamid/R/x86_64-pc-linux-gnu-library/4.0’ for modifying Try removing ‘/gpfs/fs1/home/a/alim/mhamid/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-RcppEigen’ Warning message: In i.p(...) : installation of package ‘/tmp/RtmpBinP6U/file346df128d2460/RcppEigen_0.3.3.9.2.tar.gz’ had non-zero exit status
`
I resolved the issue by using
options(timeout = 1200)
Seems the packages above were taking a bit longer to load and the process would time out.
I am trying to install Seurat remotely from terminal, however the installation in unsuccessful. The error I get is that installation of several dependent packages had a non-zero status (including RcppEigen, rgeos, sctransform, SeuratObject, and Spectra). I tried installing these packages separately but was unsuccessful. I would appreciate any help in troubleshooting this issue.
This is the error I get: