1

这是我收到的消息,我不知道在哪里将 R 更新到 3.0.0,资源会有所帮助。我已经在网上搜寻了对这个确切问题有明确答案的人。

R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computin
ISBN 3-900051-07-0
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
install.packages('Rcpp', repos='http://cran.rstudio.com/')
# Installing package(s) into ‘/usr/lib64/R/library’
# (as ‘lib’ is unspecified)
# Warning message:
# package ‘Rcpp’ is not available (for R version 2.15.2)
4

1 回答 1

1

我相信你需要Rcpp,注意大写。检查Rcpp 的 CRAN 页面,似乎 Rcpp 现在需要 R 3.0.0 或更高版本。我在 CentOS 上并且有 3.0.2,但不幸的是不记得我是如何更新的。

于 2014-05-06T14:49:26.573 回答