how to remove row names from dataframe code example Example: r remove row names rownames(data) <- c()