Search code examples
rstanrstan

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?


Solution

  • 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!