Helix/Software/R/Rstan

From bwHPC Wiki
< Helix‎ | Software‎ | R
Revision as of 10:17, 12 October 2023 by H Winkhardt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General information

rstan provides the R interface for Stan, a platform for statistical modeling and high-performance statistical computation.

Installation

On Helix, rstan can be installed without any major changes to the surroundings. You can run

> install.packages("rstan")

in R on a Login-node to install rstan.

Testing the installation

To check whether the installation worked, make a test run in R

> library(rstan)
> example(stan_model, package = "rstan", run.dontrun = TRUE)