I believe using system2() is a good option for running two R scripts in parallel. I'm trying something like the following:
Sys.time()
system2(command = 'Sys.sleep(5)', wait = FALSE)
system2('Sys.sleep(7)', wait = FALSE)
Sys.time()
However, it does not work and I'm also getting this warning:
running command '"Sys.sleep(7)"' had status 127
The documentation of system or system2 does not show any example and I can't find much around. Has anyone tried this option to solve this problem?