search for: con_read

Displaying 1 result from an estimated 1 matches for "con_read".

Did you mean: vcon_read
2010 May 25
1
Pipe
Hi, I'm trying to use the pipe function to read data from another process on my server. Here is the code I have tried. con <- pipe("/var/matlab/scripts/stream.pl") while(con_read <- readLines(con)) { print(con_read) } Problem is that the data from the perl script just keeps appending to con_read and it never gets to the print function. Which makes sense, but I would like to be able to perform calculations on con_read, while the script continues to read from the perl s...