[R] readLines and writeLines

David Winsemius dwinsemius at comcast.net
Fri Sep 3 16:47:24 CEST 2010


On Sep 3, 2010, at 8:39 AM, rajeshj at cse.iitm.ac.in wrote:
>
> I have a socket connection where I do
> -socketConnection
> -writeLines
> and then wait for the server to send data through the socket. so I  
> have to wait on a readLines.But when I say
> str<-readLines(con) it executes immediately and str gets  
> nothing.what do i do for this?

Have you looked at the penultimate example on the connections help page?

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list