Skip to content
Prev 17290 / 398513 Next

Summary re: read.table on Mac OS 10

On Wed, 20 Feb 2002, David R. Bickel wrote:

            
It's CR (ctrl-J, \r) as far as I know.

Shouldn't be a problem.  R's input handles all the standard line-ending
conventions (LF, CRLF, CR) on all platforms, and this is tested as part of
the test suite (although I don't know if that is run on MacOS).
and that calls read.table, so the problem is either with the separators or
more likely with surplus separators at the end of lines in some lines.
You can use a dump (use od under Unix) to find out what is really in the
file.

Neither of you have anywhere told us what the actual error message was
in problem number 3.
y(That's not what I said. The posting by the time it reached me had a
surplus newline and space in the file spec, at the end of a path
component. R does handle legal file names including spaces. My comment as
on the file spec as received, not in general.)

[...]