Can't fork the R session in Positron #15027
|
When running the parallel::mclapply function in Linux server remotely connected through the newest version Postrion, it pops up the weird error message Can't fork the R session in Positron. But it didn't happen in the versions prior to version 2026.07.1-5. |
Answered by
jmcphers
Jul 21, 2026
Replies: 1 comment 1 reply
|
The parallels package is not supported in Positron because Positron's R kernel does not currently support forking. Read more/comment/upvote here: As a workaround, you can try running R in Positron's terminal rather than its Console. It won't be connected to the rest of Positron's UI, but you should be able to use multicore processing there. See this PR as well, which added this error message: posit-dev/ark#1308 |
1 reply
Answer selected by
HeraclesHX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The parallels package is not supported in Positron because Positron's R kernel does not currently support forking. Read more/comment/upvote here:
#6163
As a workaround, you can try running R in Positron's terminal rather than its Console. It won't be connected to the rest of Positron's UI, but you should be able to use multicore processing there.
See this PR as well, which added this error message: posit-dev/ark#1308