I recently got a computer with several cores and am learning to use parallel computing. I\'m fairly proficient with lapply and was told parLapply
lapply
parLapply
You need to export those variables to the other R processes in the cluster:
cl <- makeCluster(mc <- getOption("cl.cores", 4)) clusterExport(cl=cl, varlist=c("text.var", "ntv", "gc.rate", "pos"))