stan-dev / rstan

RStan, the R interface to Stan
https://mc-stan.org
1.04k stars 269 forks source link

Update Stan in Rstan to 2.26.2 #911

Open yangaouic opened 3 years ago

yangaouic commented 3 years ago

Hi,

Some new added functions such as linspaced_vector are not available in Rstan 2.21 so far. I tried it in my current Rstan. However, my current stan version is 2.21 in Rstan for R 3.6.3, thus this function is not available yet. I realized this function is available in Stan version 2.26.

Could you let me know how to upgrade my Stan version to 2.26 in R?

Thanks and best regards,

Yan

hsbadr commented 3 years ago

Try the experimental version of rstan 2.26 in #887 (instructions in the first post) and report issues in #899.

@rok-cesnovar Could you please update the packages from here? Thanks!

stemangiola commented 1 year ago

When experimental branch will become part of the official rstan release? I don't mean on CRAN but just in the stan code repository

bob-carpenter commented 1 year ago

Is there a feature you're thinking about @stemangiola. If we're talking ADVI (or Pathfinder if it gets added), probably never. In which case the "experimental" should say "unstable" or something.

stemangiola commented 1 year ago

Maybe I am misunderstanding. I was thinking at the TBB parallelization of the modern stan (not MPI). I was remembering was introduced in 2.26.

It would be great to use that with rstan!

andrjohns commented 1 year ago

I don't think we'll be updating the r-packages rstan to the experimental 2.31 until 2.26 is on CRAN, but in the interim you can install the experimental branch directly from Github

stemangiola commented 1 year ago

We run through fixing packages that use rstan for integrating 2.26 into cran time ago. I had the impression that was almost done.

Thanks for the clarification.