Displaying 1 result from an estimated 1 matches for "incommand".
Did you mean:
ncommand
2002 Oct 30
4
Flushing the R output buffer.
...s problems.
It appears that the file to which R's output is redirected
is not recieving any output until the pipe connection form PHP
is closed. I think this means that R is buffering its output
and there appears to be no flush function.
I would like to use a sequence like:
open pipe to R and incommand redirect R outout to file/fifo
open file
send R command
read response from file
close file
open file
send R command
read response from file
close file
.
.
close pipe
I checked the archives and there a function
flush.console() was mentioned -- I looked for this in
the docs but could not find it....