Using the library parallel
parallel
How many cores has your computer?
How much time improvement can you get for the example of running kmeans on the titatnic_train data?
titatnic_train
Use microbenchmark on the previous example
mcapply()