Skip to content

Newbie problem with read.table

1 message · Jan Conrad

#
Thank you all for your answers. Yes, indeed it was only a printing
problem (in fact I had tried
the \t option before without sucess).

My first interaction with R (and the R help), I must say I am impressed.


Best,

Jan

-----Original Message-----
From: Marc Schwartz [mailto:MSchwartz at mn.rr.com] 
Sent: Wednesday, October 12, 2005 3:14 PM
To: Roger.Bivand at nhh.no
Cc: Jan Conrad; r-help at stat.math.ethz.ch
Subject: Re: [R] Newbie problem with read.table
On Wed, 2005-10-12 at 14:56 +0200, Roger Bivand wrote:
Aplan
Aplan
0.01245660
0.00064187
you
Thanks to Roger for this clarification. I took the splitting of the
variables to be a consequence of the delimiter and not just a benign
consequence of the printed output (at least I presume this is the proper
interpretation of Jan's problem.)

The tab character is of course included in "whitespace"....using "\t"
explicitly would be helpful if there is embedded whitespace (other than
a tab) within a field.

Marc
<Off to get another cup of coffee....>