read.table 2005-02-25 - By Peter Dalgaard
Berton Gunter <gunter.berton@(protected)> 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@(protected)) FAX: (+45) 35327907
______________________________________________ R-help@(protected) mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
|
|