snow.chains: DREAM with external batch files in parallel folders

Description See Also


N.B. This functionality is only provided on request for expert users of external model software. It is assumed that users are capable of setting up batch files, executing them from R, and reading in the results. The authors can only provide limited support.

With the setting control$parallel="snow.chains", dream interprets FUN to be of the form logp=f(, list of pars). By passing the to the function, the user can run external programs in parallel (using SNOW) within separate folders.

In addition:

  • func.type must be "logposterior.density", i.e. FUN must return the log-likelihood

  • measurement should be left at its default value of NULL or dream will stop with an error.

  • should be left at its default value of list() or dream will stop with an error.

  • dreamCalibrate cannot be used

See Also

dream for documentation of other arguments, and dreamCalibrate for the recommended way to calibrate a function using dream. demo("parallelisation_chain_id")

dream documentation built on May 21, 2017, 1:17 a.m.

Search within the dream package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.