# Assuming you have a data frame called 'your_data' with row names your_data$RowNames <- rownames(your_data)