On Sat, 29 Dec 2007, Philippe Grosjean wrote: > Thank you, Brian. > > Prof Brian Ripley wrote: >> This only happens if 'file' is a text connection, and is the expected >> behaviour in that case: you cannot capture an incomplete line to a text >> connection. > > Well, in ?textConnection, Details section, one can read: > "Closing the connection will output the final line, complete or not."
Yes, but 'rval' is returned before the connection is closed. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel