install.packages(c("ggplot2", "gcookbook"))出现问题,说是无法连接cran,于是google到另一个方法安装了gcookbook:
install.packages("C:/Temp/gcookbook_1.0.tar.gz", repos=NULL, type="source"
但是同样安装ggplot2出现问题如下:
> install.packages("C:/Temp/ggplot2_1.0.0.tar.gz", repos=NULL, type="source")
ERROR: dependencies 'plyr', 'digest', 'gtable', 'reshape2', 'scales', 'proto' are not available for package 'ggplot2'
* removing 'F:/R-3.0.3/library/ggplot2'
Warning messages:
1: running command '"F:/R-3.0.3/bin/i386/R" CMD INSTALL -l "F:\R-3.0.3\library" "C:/Temp/ggplot2_1.0.0.tar.gz"' had status 1
2: In install.packages("C:/Temp/ggplot2_1.0.0.tar.gz", repos = NULL, :
installation of package ‘C:/Temp/ggplot2_1.0.0.tar.gz’ had non-zero exit status
请问有人知道如何解决吗?
非常感谢!


雷达卡






京公网安备 11010802022788号







