The length() function is not returning the right number

Viewed 27

I working with a csv that has 234 rows. I thought the length() function was supposed to return the number of rows in my csv, but it returns a much larger number. It gives me 1046860. Does the length function not do what I think it does? What is going on?

I just wanted to double check the length and haven't run any other code yet other than setting up my working directory and attaching a file (Cat6 <- read.csv("Category6.csv")).

0 Answers
Related