Prints the names of a data frame in a column so they're easy to copy.

print_names(df)

Arguments

df

A data frame.

Examples

df <- data.frame(
  one = c(1, 2),
  two = c(3, 4),
  three = c(5, 6)
)

print_names(df)
#> one 
#> two 
#> three