I used these two line command to install the Seurat, but I got following:
make: *** [parse.o] Error 1
ERROR: compilation failed for package ‘RcppTOML’
* removing ‘/rsrch4/home/canbio/dsha/R/x86_64-pc-linux-gnu-library/4.0/RcppTOML’
* restoring previous ‘/rsrch4/home/canbio/dsha/R/x86_64-pc-linux-gnu-library/4.0/RcppTOML’
The downloaded source packages are in
‘/tmp/RtmpGKmgwW/downloaded_packages’
Installing package into ‘/rsrch4/home/canbio/dsha/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
ERROR: dependency ‘spatstat.core’ is not available for package ‘Seurat’
* removing ‘/rsrch4/home/canbio/dsha/R/x86_64-pc-linux-gnu-library/4.0/Seurat’
Error in file(file, if (append) "a" else "w") :
cannot open the connection
In addition: Warning messages:
1: package ‘spatstat.core’ is not available (for R version 4.0.0)
2: In i.p(...) :
installation of package ‘RcppTOML’ had non-zero exit status
3: In i.p(...) :
installation of package ‘/tmp/RtmpGKmgwW/remotes23eca48a076d0/Seurat’ had non-zero exit status
4: In file(file, if (append) "a" else "w") :
cannot open file '/risapps/rhel7/R/4.0.0/lib64/R/library/Seurat/DESCRIPTION': Permission denied