r create column with row names code example Example: R make column of rownames library(dplyr) df <- tibble::rownames_to_column(df, "VALUE")