-
-
Notifications
You must be signed in to change notification settings - Fork 266
Home
This is the home of the RStan Wiki. There are pages for users and developers.
Instructions for installing and using the latest stable version of RStan on Mac, Linux, and Windows
Stan language manual, example models, case studies and tutorials
Get help with Stan from developers and other users
In case you want to build the latest (potentially unstable) version from the source
The CRAN binaries don't always work as downloaded, especially for the Mac OS. If attempts to compile a model file result in an error message of the following form:
Error in stanc(file = file, model_code = model_code, model_name = model_name, :
c++ exception (unknown reason)
you will have to install from source. If you have followed the Stan installation instructions and your toolchain is correctly installed, from within R, the command to install from source is:
install.packages("rstan", type="source", repos='http://cran.us.r-project.org');
(where the repos
argument should be set to the closest/fastest CRAN mirror according to your location).