Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
什么';什么是R2.15和proto?_R - Fatal编程技术网

什么';什么是R2.15和proto?

什么';什么是R2.15和proto?,r,R,我升级到2.15(我的本地目录中有2.14.x和2.13.x)。然后,我收到了错误消息,proto没有名称空间,请重新安装。那根本行不通。Iremove.packages(“proto”)用于所有本地和主库。我甚至尝试过以root用户身份运行(我知道),但在尝试安装时仍然会遇到这种情况 Selection: 50 trying URL 'http://cran.stat.auckland.ac.nz/src/contrib/proto_0.3-9.2.tar.gz' Content type '

我升级到2.15(我的本地目录中有2.14.x和2.13.x)。然后,我收到了错误消息,
proto
没有
名称空间
,请重新安装。那根本行不通。I
remove.packages(“proto”)
用于所有本地和主库。我甚至尝试过以root用户身份运行(我知道),但在尝试安装时仍然会遇到这种情况

Selection: 50 trying URL
'http://cran.stat.auckland.ac.nz/src/contrib/proto_0.3-9.2.tar.gz'
Content type 'application/x-gzip' length 536813 bytes (524 Kb) opened
URL
================================================== downloaded 524 Kb

Loading required package: plyr

Attaching package: ‘reshape’

The following object(s) are masked from ‘package:plyr’:

    rename, round_any

Loading required package: proto Error: package ‘proto’ could not be
loaded In addition: Warning message: In library(pkg, character.only =
TRUE, logical.return = TRUE, lib.loc = lib.loc) :   there is no
package called ‘proto’ Execution halted

The downloaded source packages are in
    ‘/tmp/RtmpaUy8i4/downloaded_packages’ Updating HTML index of packages
in '.Library' Making packages.html  ... done Warning message: In
install.packages("proto") :   installation of package ‘proto’ had
non-zero exit status
嗯,是的,
proto
还不存在,我正在尝试安装它



ubuntu 10.04。安装了2.13.x和2.14.x,带有ggplot2,无事故

sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=C                 LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  grid      methods   base     

other attached packages:
[1] reshape_0.8.4 plyr_1.6     

loaded via a namespace (and not attached):
[1] tools_2.15.0
我要回到2.14.2,看看事情


似乎与.Rprofile存在冲突,因为在我移动2.15后,我能够卸载/安装2.15而不会发生意外。

我的建议是运行:

update.packages("proto", checkBuilt = TRUE)

对我来说很好。也许您应该包含更多关于您的系统的信息,sessionInfo()的输出对我来说很有用<我的系统上的code>R.version.string是:
R版本2.15.0已修补(2012-03-30 r58875)
win.version()
是:
Windows Vista(build 6002)Service Pack 2
。另外,
packageVersion(“proto”)
是:
0.3.9.2
.ubuntu 10.04。安装了2.13.x和2.14.x,带有ggplot2,没有发生任何事件。可能与ubuntu 10.04有关。2.13.x和2.14.x安装的ggplot2未发生事故。