suyusung / R2jags

R2jags: Using R to Run 'JAGS'
8 stars 3 forks source link

Fix error in jags.parallel() if R2jags is not attached #8

Closed wlandau closed 3 years ago

wlandau commented 3 years ago

This PR simply changes this:

clusterExport(cl, c(names(data), "mcmc", "mcmc.list", export_obj_names ), envir = envir)

to this:

clusterExport(cl, c(names(data), export_obj_names ), envir = envir)

to fix #5. I am not sure why the GitHub diff is showing the whole file changed.