Displaying 1 result from an estimated 1 matches for "anadyspharma".
2003 Feb 21
5
Problem Writeing a pipe using R (stdin is consumed)
Hi everybody,
I a, trying to use R as a pipe like this:
cat inputData | R --silent RCommandFile >outputData
The RCommandFile would contain something like readLines(stdin()).
I have tryed various things and none did work cleanly.
One possible solution is to use the pipe() function inside R and to pass in the "cat inputData" however this is not very convenient
since I would like to