EOF from a keyboard on Windows is often Ctrl+Z. But you're right; it's platform dependent. CtrlZ in Unix has less desirable effects on readLines(). And on your running R process...
Drat. >>> Peter Dalgaard <[EMAIL PROTECTED]> 29/06/2007 12:42:41 >>> S Ellison wrote: > Wouldn't it be nice if the Help for readLines mentioned how to introduce an > EOF when reading from stdin ...? > > Steve E > > Yes (in a couple of other cases, too) but it is likely platform dependent. What do you use on Windows and is it the same in the terminal and the GUI versions? And on Mac? ******************************************************************* This email and any attachments are confidential. Any use, co...{{dropped}} ______________________________________________ R-help@stat.math.ethz.ch 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.