Cmdstan not installing

Great! Two things to check next, can you install the github version of cmdstanr:

devtools::install_github("stan-dev/cmdstanr")

And then run:

cmdstanr::check_cmdstan_toolchain(fix=TRUE)

Which will check that everything is configured and setup correctly. If there’s an error which the program corrects, try installing cmdstan again like before.

If not, and it says that everything is properly setup, then the next step is to check whether it works when you try to install cmdstan in a local folder (on your computer, rather than on the networked drive). This can be something like your Documents folder or somewhere on the C:/ drive, as long as it’s not on the networked drive. You can specify this install directory via:

install_cmdstan(cores=2, dir = new_install_dir_here)