transformVarNames2 function

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