socket bug ??? (PR#2056)
Thomas Lumley
tlumley@u.washington.edu
Mon, 23 Sep 2002 08:54:15 -0700 (PDT)
On Mon, 23 Sep 2002 rwieland@zalf.de wrote:
> Please help me,
>
> I use R-1.4.1 and everything works fine. But with R-1.5.1 ist does'nt work:
>
> I have this put into a file called "socket.R"
>
> while(TRUE){
> con1 <- socketConnection(host="localhost",port=6021,server=TRUE);
> source(con1);
> close(con1);
> }
>
>
You may need to add blocking=TRUE to the call. When I do that I can
connect by telnet and send commands (although they aren't run until I
close the connection.)
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._