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, [EMAIL PROTECTED] wrote:

> Full_Name: Klaus Thul
> Version: R2.3.1 (CRAN binary for Windows)
> OS: Windows XP
> Submission from: (NULL) (220.132.142.175)
>
>
> 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.
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

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

Reply via email to