[R-SIG-Mac] Forking issues in Mavericks
jeroen.ooms at stat.ucla.edu
Tue Oct 29 20:53:38 CET 2013
On Tue, Oct 29, 2013 at 12:35 PM, Steve Lianoglou
<lianoglou.steve at gene.com> wrote:
> Is this happening when you are running R from w/in R.app (which, I
> think, is not new), or are you running R from the terminal and still
> seeing this)?
It happens when a forked child process tries to use some "fork unsafe"
opratation, after the parent has already done so as well, see . It
is related to R.app in the sense that the GUI uses the CF event
loop which is considered fork unsafe, and therefore a forked child
process can't do any fork unsafe operations anymore. However it also
happens in other contexts such as prefork in RApache .
But my actual question is: what is it about using httr::GET that is
considered fork "unsafe", which was not considered unsafe in 10.8?
More information about the R-SIG-Mac