这是我的系统信息。
[vagrant@localhost vagrant]$ uname -a
Linux localhost.localdomain 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[vagrant@localhost vagrant]$ cat /etc/centos-release
CentOS release 6.4 (Final)
这是我的R信息
> R.version
_
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 2.3
year 2015
month 12
day 10
svn rev 69752
language R
version.string R version 3.2.3 (2015-12-10)
nickname Wooden Christmas-Tree
我在尝试安装R软件包时收到以下错误消息。
它不仅适用于ggvis
包,还适用于大多数其他包。
命令
install.packages("ggvis", dependencies=TRUE, repos=c("http://rstudio.org/_packages", "http://cran.rstudio.com"))
错误
* installing *source* package ‘ggvis’ ...
** package ‘ggvis’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
object 'vI' not found
ERROR: lazy loading failed for package ‘ggvis’
* removing ‘/vagrant/packrat/lib/x86_64-redhat-linux-gnu/3.2.3/ggvis’
* restoring previous ‘/vagrant/packrat/lib/x86_64-redhat-linux-gnu/3.2.3/ggvis’
The downloaded source packages are in
‘/tmp/RtmpUju5PK/downloaded_packages’
Warning message:
In install.packages("ggvis", dependencies = TRUE, repos = c("http://rstudio.org/_packages", :
installation of package ‘ggvis’ had non-zero exit status