Step 1: Compiling R on CentOS 7
a. Download R Package from https://cran.r-project.org/
b. Untar and Compile the R-Package
$ tar -zxvf R-3.6.2.tar.gz
$ cd R-3.6.2 $ ./configure --prefix=/home/myuser/R-3.6.2 $ make $ make install
Step 2: Compile multtest package
Seurat is dependent on mulltest. But if you try installing muttest using R, you will have this error.
$ cd /home/myuser/R-3.6.2 $ ./R
install.packages("multtest") Warning message: package ‘multtest’ is not available (for R version 3.6.2)
To solve the issue, you have to install BiocManager first and use BiocManager to install mulltest
install.packages("BiocManager")
BiocManager::install("multtest")
Step 3: Finally, you can install Seurat
install.packages("Seurat")
References: