Question regarding RStudio. Suppose I am running a code in the console:
> code1()
assume that code1() prints nothing on the con
code1()
The mcparallel() function in the parallel package will do the trick, if you are on Linux, that is ...
library(parallel) Job1 = mcparallel(code1()) JobResult1 = mccollect(Job1)