Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Computing Resources

Remote Computing Sources

There 3 different levels of remote supercomputing available to PSTAT faculty/staff/students:


  • Available to everyone with minor caveats


  • Available through your research PI


  • Available through simple application or external funding

Parallel Processing Using R

In order to have access to parallel computation for models that can take advantage of it, install the doParallel package. This will allow you to enable usage of multiple CPU cores/threads with only a couple commands.

Use this command to detect the total number of cores/threads available on your system:


Then, use the following library to select a desired number of cores/threads (in this case 4):


Please be conscious of the resources available on shared systems. Do not hog resources!

Additional information about available parallel computing tools in R can be found on CRAN.

© 2023 The Regents of the University of California. All Rights Reserved. References or pointers to non-University entities or resources do not represent endorsement by the Regents of the University of California.