Skip to content
Back to formatted view

Raw Message

Message-ID: <ad2943ef-a8aa-2c7b-2bc3-391a37a01849@gmail.com>
Date: 2018-05-22T23:57:48Z
From: Benjamin Tyner
Subject: system() or pipe(..., open = "r") without child process?

Greetings

On linux, is it possible to invoke an OS command from within R without 
spawning a child process? If not, is it possible to avoid copying the 
"parts of the caller's context" that are mentioned on the clone manpage?

 ?ENOMEM Cannot? allocate? sufficient memory to allocate a task structure
 ????????????? for the child, or to copy those parts of? the caller's? 
context
 ????????????? that need to be copied.

(I am trying to avoid that ENOMEM condition when calling system(), 
pipe(), etc).

Regards,

Ben