Hello, You are not very precise there. Do you mean that the rows in your text file do not all have the same number of separators (commas, in your case)?
Best regards, Carlos J. Gil Bellosta http://www.datanalytics.com On Thu, 2009-01-08 at 04:38 -0500, rahul-a.agar...@ubs.com wrote: > I have a data frame with unequal rows length separated by comma.....I > have to read the data first and then calculate number of comma in each > row...how can I do that > > Regards Rahul > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.