setting columnnames as rownames in r code example Example: R make column of rownames library(dplyr) df <- tibble::rownames_to_column(df, "VALUE")