的&QUOT原因;错误:软件包“_____”3.0.0之前建:请重新安装" R中 [英] Causes of "Error: package '_____' was built before 3.0.0: please re-install it" in R

查看:1046
本文介绍了的&QUOT原因;错误:软件包“_____”3.0.0之前建:请重新安装" R中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一台计算机上运行v 2.15.2我已经安装了从.zip文件包(这些包正好是GGPLOT2和data.table,但我不认为具体的包是我的问题。)一切工作正常。我把这些包的计算机没有连接到互联网,并安装它们。这另一台计算机正在运行v 3.0.1。包似乎在安装没有问题(使用R原则安装本地压缩文件包(S)选项)。当我把包与库(),我收到以下错误:

On one computer running R 2.15.2 I have installed packages from a .zip file (these packages happened to be ggplot2 and data.table, but I don't think the specific package is my issue.) Everything works fine. I took these packages to a computer without an internet connection and installed them. This other computer is running R 3.0.1. The packages seemed in install without a problem (using R's "install package(s) from local zip file" option). When I call the packages with the library(), I get the following error:

错误:包'是3.0.0之前建:请-重新安装

Error: package '' was build before 3.0.0: please-re-install it

谁能解释的潜在原因抛出这个错误?是否有特定的目录的.zip文件包必须为正确的安装在?如果安装在从那里的.zip包加载一个独立的分区R,这可能会导致错误?我不知所措,任何指针是极大的AP preciated。这是一个很难重现;如果你需要任何其他版本/系统参数了解的问题,请不要犹豫,问。

Can anyone explain potential causes for this error to be thrown? Are there particular directories that the .zip packages must be in for a proper install? If R is installed on a separate partition from where the .zip packages were loaded, could this cause the error? I'm at a loss, any pointers are greatly appreciated. This is a difficult one to reproduce; if you need any other version/system parameters to understand the problem, please don't hesitate to ask.

推荐答案

运行install.packages(' codetools ')可以修复的R 3.0.2这个问题,如果你有像我一样的问题:

安装到/home/user/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/libs
** - [R
** 研究所
** preparing包延迟加载
错误:包' codetools 'R 3.0.0之前建:请重新安装
错误:无法负载R code在包'RCPP
错误:延迟加载失败包'RCPP

running "install.packages('codetools')" can fix this issue for R 3.0.2, if you have the same problem like me: " installing to /home/user/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/libs ** R ** inst ** preparing package for lazy loading Error : package ‘codetools’ was built before R 3.0.0: please re-install it Error : unable to load R code in package ‘Rcpp’ ERROR: lazy loading failed for package ‘Rcpp’ "

这篇关于的&QUOT原因;错误:软件包“_____”3.0.0之前建:请重新安装" R中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆