[R] "all rows must have the same length" error while using read.table - correction
Jason Turner
jasont at indigoindustrial.co.nz
Mon Apr 2 06:55:26 CEST 2001
whoops
> 2) trailing tabs. Again, from within vi, you can clean these
> up by
> :1,$s,[\t ]*,,
> which clears trailing spaces and tabs.
That should be
:1,$s,[\t ]*$,,
Note the second '$'. The original form will seriously mess up your
data, guaranteed.
Jason
--
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list