Hoffman2:Software Tools:Rstan: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
(Created page with " To use Rstan, we need to load R version/4.1.2 module load R/4.1.2 module load gcc/5.3.0 export R_LIBS='/u/project/CCN/apps/R_libs/rh7/4.1.2' Enter R prompt and test Rstan R...")
(No difference)

Revision as of 22:43, 17 June 2022

To use Rstan, we need to load R version/4.1.2

module load R/4.1.2 module load gcc/5.3.0 export R_LIBS='/u/project/CCN/apps/R_libs/rh7/4.1.2'

Enter R prompt and test Rstan R >require(rstan) > example(stan_model, package = "rstan", run.dontrun = TRUE)