怎么了R 2.15和proto?

时间:2012-04-01 00:42:31

标签: r

我升级到2.15(我的本地目录中有2.14.x和2.13.x)。然后,我收到proto没有Namespace的错误消息,重新安装。这根本行不通。我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。

1 个答案:

答案 0 :(得分:1)

我的建议是:

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