- Operating System: Windows 10
- rstanarm Version: 2.19.2 2019-10-03  CRAN (R 3.6.1)
Hi all, I’m struggling to find any info on how to run a glmer model in parallel on windows. It looks like Macs have the simple solution of running:
“options(MC.cores=parallel::detectCores())”, but this won’t help on windows.
I’ve opened a cluster (following here: http://dept.stat.lsa.umich.edu/~jerrick/courses/stat701/notes/parallel.html#using-sockets-with-parlapply), but now I don’t know how to run my MCMC chains in parallel.
If relevant, my model looks like this:
mdl <- rstanarm::stan_glmer(acc_num ~ T_excl1_state * total_trial_num_sc + final_Q_Tacc + (1|participant), data = subset(as.data.frame(dat), label == ‘NT’), family = ‘binomial’)