This workshop for intermediate R users will show you how to leverage some of the parallel packages in R to run tasks concurrently, or parallel to each other. This means that your code can complete faster using the additional CPU cores found on most computers, allowing you to spend more time working and less time waiting.
This workshop assumes that you are already comfortable in base R. For example, you should be able to:
- Write for-loops and if-statements
- Repeatedly run some analysis that in total takes minutes or hours to complete
- Write an R script that can run on its own without manual user intervention.
By the end of the workshop you will be able to:
- Write your own functions for use in your scripts
- Recognize when a task can or cannot be made parallel
- Understand why parallel code is more difficult to write, and how to write it
- Recognize several popular parallel code packages and understand the style of coding required for each one
- Write parallel code where possible.
|Write parallel code in R to improve performance : 2019-03-22||Burnaby, Bennett Library, Rm 7010, Research Commons||Friday, March 22, 2019 - 9:30am to 12:30pm|