这是我收到的消息,我不知道在哪里可以将 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)
最佳答案
我相信你需要 Rcpp
,注意大小写。检查 CRAN page for Rcpp ,看来 Rcpp 现在需要 R 3.0.0 或更高版本。我在 CentOS 上并且有 3.0.2,但不幸的是不记得我是如何更新的。
关于r - 使用 Shiny 时,包 rcpp 不适用于(R 版本 2.15.2),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23497821/