I have ingrained in my muscle memory to press "ctrl+s" every time before I run a .do file in case Stata crashes. Once in a while I write code directly into the Stata command field, especially when I tabulate or summarise variables I just created to quality check them. I have thus accidently managed to press "ctrl+s" while in this window accidentaly, and followingly press enter with the intent to execute the command I wrote into the command window. This of course, replaces the data set I am working on, which I extremely seldomly want to do, and especially not outside of a .do file.
Is there a way to never allow Stata to overwrite a specific file? In the .do file I use the "replace" option to force Stata to overwrite, but I could not find any options to "lock" the data set. I couldn't find an option anywhere to dissalow the "ctrl+s" on saving data sets. I wanted to ask if there is some information I am missing?
Related Posts with Never allow Stata to replace dataset
Deriving ISEI from ISCO-08 and ISCO-88 with 2 digits. Is it possible?Hi there! I have a dataset covering 14 years, and I have isco88 and isco08 with only 2 digits for t…
Exporting shapefiles with nonconsecutive, multipart polygons using GeotoolsI am using the -geotools- command to export polygon features to an ESRI shapefile. The input geograp…
Minimize under a restriction (in each individual)I wanna to find individual values to minimize an outcome in a restriction. *variables - fac1, ..., …
Error uninstalling a package: Criterion matches more than one packageDavid Roodman posted yesterday a discussion of xtabond2, contributed by him I installed the package …
Coefplot with multiple models to show change over time horizontallyHello, I'm trying to plot concertation indices for 5 variables obtained from separate linear regres…
Subscribe to:
Post Comments (Atom)
0 Response to Never allow Stata to replace dataset
Post a Comment