David's public blog

Now, I have been developing the bpcs package for the last 4 months I thought of sharing a bit my experience with developing a R package with Stan.

rstan + rstantools

My first experience was with rstan + rstantools. Creating a skeleton package based on rstantools is really fast and straightforward.

cmdstanr

For version 1.2.0, I decided to change to cmdstanr instead of the rstan + rstantools combo. My decision was based on:

Here a few thing to remember:

Problems that I have encountered so far:

#R #Stan #Bayesian Statistics