Re: [Rd] (PR#9248) Incomplete loading of files into Windows script

From: <>
Date: Sun 24 Sep 2006 - 06:07:39 GMT

Please, we do need complete reproduction instructions (and not speculation) as the FAQ asks.

  1. How exactly did you read the file in?
  2. 'longer' than what?
  3. What line ending is this?

I've just tried loading a 1000-line 50kb file using the 'Open Script' menu item, and it worked with CRLF, LF or CR line endings.

Some guesses are that there are control characters in the file or an encoding problem (what is your locale?).

On Sun, 24 Sep 2006, wrote:

> Full_Name: Klaus Thul
> Version: R2.3.1 (CRAN binary for Windows)
> OS: Windows XP
> Submission from: (NULL) (
> When I read a longer text file created on Mac OS X into the built-in script
> editor of R for windows, it is read only incomplete. The same file can be loaded
> without problem e. g. into WordPad.
> I think the reason for the behavior is that Mac OS X uses different EOL markers,
> and R for windows doesn't handle these markers correctly. I don't have access to
> an UNIX/LINUX system, but I guess files generated on these systems will cause
> the same problem.
> I can provide an example file which fails if necessary.
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Sun Sep 24 16:09:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 24 Sep 2006 - 18:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.