system() or pipe(..., open = "r") without child process?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

system() or pipe(..., open = "r") without child process?

Benjamin Tyner
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

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.