使用Shiny时,程序包rcpp不适用于(R版本2.15.2)

时间:2014-05-06 14:40:30

标签: r centos shiny shiny-server

这是我得到的消息,我无法弄清楚将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)

1 个答案:

答案 0 :(得分:1)

我相信你需要Rcpp,注意大写。检查CRAN page for Rcpp,看来Rcpp现在需要R 3.0.0或更高版本。我在CentOS上有3.0.2,但遗憾的是我不记得我是如何更新的。