Hello everyone,

I have my program like this:


while (length(oneLine <- readLines(con, n = 1, warn = FALSE)) > 0)  {
   # here I process the line I read
}


The problem is it gives me different output every time. I get a problem/
error like:

"Closing unused connection (con)". Sadly I can't provide the file because
it's ,ore then a GB.

Thank you in advance,
-----------------------------------------------------------------------
- László-András Zsurzsa,                                  -
- Msc. Infromatics, Technical University Munich, -
-----------------------------------------------------------------------

        [[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