Operating System: Windows 10
Interface Version: R 2.5.1 / RStudio 1.1.453 / loo 2.0.0
I’m running into an issue where if I utilize
options(mc.cores = parallel::detectCores()) (for rstan), and then run:
loo::relative_eff( exp( example_loglik_array() ) )
I get the following error:
Error in checkForRemoteErrors(val) : 8 nodes produced errors; first error: could not find function "mcmc_n_eff"
I ran into this, initially, using RStudio, but the issue can also be reproduced in basic R 3.5.1. Also, the function works fine so long as I don’t first set the options for mc.cores.
Sorry, if this has been posted before or if I’m just missing something obvious. This is my first whack at utilizing the ‘loo’ package.