This workflow explains with examples how to parallelize code in R.
Access to the Copernicus Climate Data Store from R