A few weeks ago, I was reading through the roctab.ado source code ("/Applications/Stata/ado/base/r/roctab.ado") to get some inspiration for a similar command that I wanted to create. In doing so, I made some slight alterations to the code to modify and display summaries of various temporary variables as the program executed.
This all worked fine, but what I hadn't realised was that I had Stata's "Always save before do/run" command on, and I appear to have now permanently modified the ado-file. This was some time ago now, and I am having trouble restoring roctab to its original functionality – is there any way to restore base files in Stata beyond simply reinstalling the entire application? Any advice on this would be gratefully received.
NB: I appreciate that modifying the base file itself is just about the stupidest thing I could have done, so I apologise in advance.
This all worked fine, but what I hadn't realised was that I had Stata's "Always save before do/run" command on, and I appear to have now permanently modified the ado-file. This was some time ago now, and I am having trouble restoring roctab to its original functionality – is there any way to restore base files in Stata beyond simply reinstalling the entire application? Any advice on this would be gratefully received.
NB: I appreciate that modifying the base file itself is just about the stupidest thing I could have done, so I apologise in advance.

Comment