Page 1 of 1

Overwrite protected column

Posted: Mon Jun 05, 2017 11:42 am
by emmaanderson
Hi,

For the last few months i've had the following error message coming up with every model i run from stata:

"Column esample is protected. Overwrite protected column?"

I found this previous thread (https://www.cmm.bristol.ac.uk/forum/vie ... php?t=1374) back from 2009 that stated "have a workaround to these messages in the -runmlwin- development version, which we hope to release to ssc soon."

I can't seem to find anything in the manuals or online.

Is someone able to advise me how I stop this message coming up? I'm trying to run loops and it's a nightmare.

Thanks! :-)

Emma

Re: Overwrite protected column

Posted: Mon Jun 05, 2017 11:45 am
by ChrisCharlton
This message should not appear if you are using the model recent version of -runmlwin-. Could you try updating it with the command:

Code: Select all

adoupdate runmlwin
and letting us know if this fixes it?

Re: Overwrite protected column

Posted: Mon Jun 05, 2017 11:50 am
by emmaanderson
Ah wow- that worked straight away. Amazing, thank you for getting back to me so quickly :-)

Re: Overwrite protected column

Posted: Wed Jun 07, 2017 12:33 pm
by ChrisCharlton
Could you enter the following command in Stata?:

Code: Select all

which runmlwin
and then open the runmlwin.ado file that it refers to in a text editor.

This should contain the following line:

Code: Select all

file write `macro1' "MARK 0" _n 
If not then the update was not successful and I suggest that you investigate why not. If this line does exist in your version then let us know.