Hello all,
On a data set that I have been working on, I've been running into a problem with what appears to be a temp variable being saved somehow. FYI, I'm on Stata 14.2.
Specifically, when I load the .dta file, I do not see any temp variables (e.g., __000004) in the variable manager, but the first time I try to create a tempvar, use egen, etc. after loading the data set, Stata responds with an error like the following:
It seems as if somehow some temp variable is being saved in a hidden manner in the data set. This issue occurs when I use the data set, even after I restart Stata.
Unfortunately, I am not able to share the data set (confidential information). I also was handed this data set to work with, so the history of the coding to create the data set is not in my reach.
Has anybody run into this issue before? If so, do you know what is happening, and the best way to fix it?
Thanks,
Roger
On a data set that I have been working on, I've been running into a problem with what appears to be a temp variable being saved somehow. FYI, I'm on Stata 14.2.
Specifically, when I load the .dta file, I do not see any temp variables (e.g., __000004) in the variable manager, but the first time I try to create a tempvar, use egen, etc. after loading the data set, Stata responds with an error like the following:
Code:
variable __000004 already defined r(110);
Unfortunately, I am not able to share the data set (confidential information). I also was handed this data set to work with, so the history of the coding to create the data set is not in my reach.
Has anybody run into this issue before? If so, do you know what is happening, and the best way to fix it?
Thanks,
Roger
Comment