Nothing to restore error
问题 I have a do -file that i use to clean-up a Stata dataset and generate descriptive statistics. The first command in this file is preserve , while the last one is restore . The do -file is too long to attach on here but between these two commands, there are others such as generate , replace , tabulate and collapse . The problem is that sometimes i get the following error message: nothing to restore Does anyone know what might be wrong? 回答1: The problem presents itself when you are trying to run