When i try to follow the instructions for installation of rstan i keep getting this error when i run
example(stan_model, package = “rstan”, run.dontrun = TRUE).
I have tried restarting r and pass in install.packages(c(“StanHeaders”,“rstan”),type=“source”) as instructed here
RStan Getting Started · stan-dev/rstan Wiki · GitHub
But it dosen’t work