This repository contains a variety of examples of parallelism.
MATLAB in the example script provided, "parforExample.m", the "for" command can be switched between "for" and "parfor". Changing to "parfor" will ask MATLAB to parallelize the loop if possible. In MATLAB r2018a, parpool is called by MATLAB with 12 threads as default if parfor is used without first calling parpool.
R The text in Rparallel.txt is a set of R commands to be used to test out one version of parallelism in R.