[Rd] help with sockets

Erich Neuwirth erich.neuwirth@univie.ac.at
Fri, 29 Dec 2000 09:54:54 +0100

i would like to use sockets to accept commands over the net.
so a socket should be a replacement for stdin.
whenever i have a complete line, i want to hand it over to the parser.

i cannot do it simply with eval because eval expects a complete

additionally, eval and evalq
seem not to accept strings.

is there an easy way to do this?

let me rephrase

my program should run a loop reading a socket,
and whenever an and of line arrives,
the string should be handled like if it had been typed on the command

can this be done easily?

Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch