Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For another explanation of how to use doParallel along with examples of code and documentation about the rest of the package's functionality, please visit this link.

doParallel Example:

Here's what the example is doing at important lines of code:

1) We import the doParallel library

4)/5) We create a lot of trials of R data for testing

Note: The middle part here (7-15) tests the baseline performance on one core before we use multiple cores as a benchmark test of the speed-up from parallel processing.

17) We create a cluster to run our job in parallel over

...