在R中,如何安装ggbiplot?

时间:2016-03-08 18:59:34

标签: r installation ggbiplot

我在RStudio中运行R版本3.2.3。我尝试按照这些说明操作:

library(devtools)
install_github("ggbiplot", "vqv")

library(devtools)
install_github("vqv/ggbiplot")

从这里http://www.vince.vu/software/

但是我收到了这个错误:

> library(devtools)
> install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@master
from URL https://api.github.com/repos/vqv/ggbiplot/zipball/master
Installing ggbiplot
Installing 1 package: ggplot2
Warning: package ‘ggplot2’ is in use and will not be installed
"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL  \
  "C:/Users/ms/AppData/Local/Temp/RtmpSIMFOv/devtools216870196a49/vqv-ggbiplot-7325e88"  \
  --library="\\ymr.corp.rt.org/homedrive$/MS/R/win-library/3.2" --install-tests 

* installing *source* package 'ggbiplot' ...
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'ggbiplot'
Error: loading failed
Execution halted
*** arch - x64
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'ggbiplot'
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing '\\ymr.corp.rt.org/homedrive$/MS/R/win-library/3.2/ggbiplot'
Error: Command failed (1)

我搜索了答案并尝试(未成功)按照此处的建议Instal R packages from github downloading master.ziphow can I offline install ggbiplot using windows

0 个答案:

没有答案