Skip to content
Back to formatted view

Raw Message

Message-ID: <3A77F5A8.319DEE6D@ozemail.com.au>
Date: 2001-01-31T11:23:20Z
From: Jim Lemon
Subject: R 1.2.1 - read.table - factors problem...

This _may_ be another example of the "space" problem.  Numeric fields
with embedded spaces have often been converted to factors by read.table
(although I confess to not having the latest version).  I usually use

tr -d '\40' < oldfile > newfile

to remove the spaces and have no problem.

Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._