Hi,

I have the following piece of code,

repeat{

ss<-read.socket(sockfd);
if(ss=="") break
output<-paste(output,ss)
}

but somehow, output is not receiving all the data that is coming through the 
socket.My suspicion is on the if statement. what happens if a white space 
occurs in between the string arriving over the socket?
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to