Examples of parallel processing in R