transformVarNames function

Generate R-code assigning each variable in a data frame to its name