Generate quantities in Stan or R

I also found this related to cmdstanr which gives some other alternatives. Thanks for your quick response and info this is super helpful!