Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Effect of two sequential save commands with different filenames


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Effect of two sequential save commands with different filenames
Date   Tue, 9 May 2006 21:31:30 +0100

If you 

save file2 

for example, then a change to the 
data in memory by (e.g.) 

generate whatever = someexp 

is _not_ reflected by a change to -file2.dta- 
unless and until you make a subsequent -save-. 

It amounts only to a change to the data 
in memory. 

Nick 
n.j.cox@durham.ac.uk 

Eric G. Wruck
 
> That doesn't sound right.  You should send us some code so 
> that we can better assist.
 
> >If you execute the commands
> >"save file1"
> >"save file2"
> >
> >and then proceed to make changes to file 2 (like generating
> >variables), are all these (subsequent) changes automatically made to
> >file1?
> >
> >I executed this series of commands and this seems to have 
> happened to me.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index