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