Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] readLines and writeLines

David Winsemius

2010-09-03

Replies: Find Java Web Hosting

Author LoginPost Reply

On Sep 3, 2010, at 8:39 AM, rajeshj@(protected):
>
> 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

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.