[R] read.table
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Fri Feb 25 22:18:29 CET 2005
Berton Gunter <gunter.berton at gene.com> writes:
> ?readLines
>
> I'm sure Perl will do nicely, but you can also use readLines and grep() or
> regexpr() the result in R as you would in Perl to find where the problem
> lies. ?nchar can also help to find a non-printing character that may be
> messing you up. It's no fun, I know. Excel files can be a particular pain,
> especially in their handling of missings.
You might also try read.delim() which has options set specifically to
be able to read Excel-generated CSV files.
Also check out count.fields().
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list