Skip to content
Prev 166350 / 398502 Next

Dataframe with unequal rows

I doubt that you have a dataframe with those features, since R would  
not allow such an event; more likely you have data in a file. If your  
goal is to determine the number of items, then you should definitely  
look at:

?count.fields

count.fields(filename, sep=",")  # would give you 1 + the number  
commas in each line of the file