我想安装这个R包: http://pklab.med.harvard.edu/scde/index.html
https://github.com/hms-dbmi/scde
我使用了几种方法
首先,我下载了一个zip文件。当我安装它时,R表示没问题
install.packages("~/scde-master.zip", repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/wagnerc/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
但是我无法加载它,说它没有安装。
> library(scde)
Error in library(scde) :
‘scde’ n'est pas un nom correct de package installé
我尝试使用github,但后来出现错误
library(devtools)
dev_mode(on=T)
Dev mode: ON
install_github("hms-dbmi/scde")
Downloading GitHub repo hms-dbmi/scde@master
Installing scde
Skipping 1 packages ahead of CRAN: BiocParallel
"C:/PROGRA~1/R/R-32~1.1/bin/i386/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \
"C:/Users/wagnerc/AppData/Local/Temp/RtmpwPkw6R/devtools5bbc140a3cc9/hms-dbmi-scde-4494544" \
--library="C:/Users/wagnerc/Documents/R-dev" --install-tests
* installing *source* package 'scde' ...
** libs
*** arch - i386
Warning: l'exécution de la commande 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-32~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-32~1.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="scde.dll" OBJECTS="bwpca.o jpmatLogBoot.o matSlideMult.o pagoda.o"' renvoie un statut 127
ERROR: compilation failed for package 'scde'
* removing 'C:/Users/wagnerc/Documents/R-dev/scde'
Erreur : Command failed (1)