domingo, 13 de dezembro de 2020

Renaming invalid variables on Stata

After exporting an R database to Stata, the variables were like below, with "." in their names. Trying to rename them, resulted on the error: You used . in oldname, not newname. . is used in newname to indicate that the corresponding wildcard in oldname be skipped. E.g., "rename a*b*...