Re: [R] System with manual options

2009-01-18 Thread Prof Brian Ripley
See ?pipe. You can pipe input to a program you run that way. On Sun, 18 Jan 2009, Hadassa Brunschwig wrote: Hi I was wondering if there was a way to run system when there is e.g. a C program which is not totally command-line driven. That is, I have a C program which requires manual input of op

[R] System with manual options

2009-01-18 Thread Hadassa Brunschwig
Hi I was wondering if there was a way to run system when there is e.g. a C program which is not totally command-line driven. That is, I have a C program which requires manual input of options into the shell during the run. I would like to run this program from R and as far as I have seen system()