简体   繁体   中英

Rstan for R versions 3.1.3?

I cannot get Rstan because my R version is too recent.

    > install.packages("rstan")
Warning in install.packages :
  package ‘rstan’ is not available (as a binary package for R version 3.1.3)

Is there anyway to download rstan for this version? Do I need to downgrade my R version in order to use rstan?

As pointed out by @Dason, rstan is not on CRAN. The line to install rstan is on the getting started page . Here is the line:

    source('http://mc-stan.org/rstan/install.R', echo = TRUE, max.deparse.length = 2000)
install_rstan()

My apologies for overlooking this.

Reinstalling rstan might fix this issue as well!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM