您好我在mac OS 10.11.6 El Capitan上使用R版本3.2.4。
我试图使用以下命令从github安装ggbiplot:
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
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save \
--no-restore --quiet CMD INSTALL \
'/private/var/folders/rz/n4897ghn2j92jgd2zdjc8fcm0000gn/T/RtmpwadqYe/devtools7cc2935dd20/vqv-ggbiplot-7325e88' \
--library='/Library/Frameworks/R.framework/Versions/3.2/Resources/library' \
--install-tests
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
* installing *source* package 'ggbiplot' ...
** R
** data
** preparing package for lazy loading
Warning: package 'ggplot2' was built under R version 3.2.5
Error : object 'f_eval' is not exported by 'namespace:lazyeval'
Error : package 'ggplot2' could not be loaded
ERROR: lazy loading failed for package 'ggbiplot'
* removing '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/ggbiplot'
Installation failed: Command failed (1)
有些人安装了以前的R版本并解决了问题,我想知道有没有办法保留当前版本并仍然安装ggbiplot。
谢谢