[R] Dataframe with unequal rows

Carlos J. Gil Bellosta cgb at datanalytics.com
Thu Jan 8 10:46:26 CET 2009


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.Agarwal at 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 at 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.




More information about the R-help mailing list