return number of rows in dataframe r code example Example: how to find number of rows in datafram R nrow(<dataframe>)