Hi. I was trying to use preserve and restore command.
Here are the codes:
• preserve
• drop BYINCOME BYSEX
• restore
It works fine if I run all 3 lines at once.
However, if I run them separately, this is what happened.
Clearly the variables BYINCOME BYSEX were dropped after I ran the first 2 lines, then
after I ran the 3rd line "restore", I get this message:
"nothing to restore
r(622); t=0.02 14:27:09"
I am not sure why. I am using a mac running El Capitan if that helps. Thank you in advance.
Here are the codes:
• preserve
• drop BYINCOME BYSEX
• restore
It works fine if I run all 3 lines at once.
However, if I run them separately, this is what happened.
Clearly the variables BYINCOME BYSEX were dropped after I ran the first 2 lines, then
after I ran the 3rd line "restore", I get this message:
"nothing to restore
r(622); t=0.02 14:27:09"
I am not sure why. I am using a mac running El Capitan if that helps. Thank you in advance.
Comment