
Hi,
I have a loop as follows,

dataStr <- character(0)
 repeat{
  fstr<-read.socket(sockfd)
  if(fstr=="")
  break
  dataStr<-paste(dataStr,fstr)
 }

at what point does dataStr stop accepting(gets full)? I'm sending millions of records over the socket and need to know if all of it can go into dataStr.

Also, Incase all of it cannot go into dataStr, I need to parse each read.socket. In such a case, 
I have a string as follows,
"|1,ab,2.34|2,cd,3.44|" how can I parse this to become a list of 2 string vectors, namely,
list(c("1","ab","2.34"),c("2","cd","3.44"))

Any help is appreciated
	[[alternative HTML version deleted]]

