# to count how many cpu's are on the localhost, run
detectCores()
# we suggest to set a cluster of maximal dimension -1 to leave a cpu to control the system
aMakeCluster <- makeCluster(2)
stopCluster(aMakeCluster)
Run the code above in your browser using DataLab