Skip to content
Prev 36489 / 63421 Next

Serial connections?

Simon,

I see what you mean, and I agree it would be nice to have a connection. 
That would be the natural way in S.

Yet, connections are driven by R. You cannot open a connection and let 
the connected device trigger some R code when data is available, don't you?

Otherwise, I don't understand your problem with "strings of code". A .R 
file also contains a series of "strings of code" interpreted by the R 
parser when you source() it. Just that code happens to be S. Here the 
code is Tcl. You can source as well a .tcl file with the same code if 
you prefer...

Best,

Philippe
On 21/04/10 14:07, Simon Urbanek wrote: