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

标签 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)

最佳答案

我相信你需要 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/

相关文章:

python - uwsgi 进程死于 "libgcc_s.so.1 must be installed for pthread_cancel to work"

python - 如何运行从服务器打开 Web 浏览器脚本的脚本?

html - Shiny 的布局 - 如何添加页脚免责声明?

php - curl SSL 证书

r - 从绘图的 bin 生成汇总表

r - 如何计算数据帧的一行和剩余行之间的相关性

r - 跳过 R for 循环中的错误,并在每次迭代中暂停该过程

r - 将 R Shiny 应用程序部署为独立应用程序

R Shiny : How to build dynamic UI (text input)

html - 从shinymanager中删除html元素