Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Disk caching (?), Win XP, Textpad, and Stata


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Disk caching (?), Win XP, Textpad, and Stata
Date   Fri, 28 May 2010 00:02:28 +0200

<>

Do you - program drop _all- in Stata before rerunning your -program-s? If
not, Stata works with the one it loaded a while ago, while a drop forces it
to refresh from the hard drive.


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Mike Lacy
Sent: Donnerstag, 27. Mai 2010 23:57
To: statalist@hsphsun2.harvard.edu
Subject: st: Disk caching (?), Win XP, Textpad, and Stata


Greetings,

I recently found out that I am experiencing occasions in which, 
having saved a modified version of a program before rerunning it in 
Stata, the new version does not get run, but instead version from 
perhaps seconds ago is run, giving the same error repeated.  I write 
and run Stata programs in Textpad, and go back and forth from Stata 
to Textpad, modifying code, rerunning it, etc.

After thinking I was losing my mind ("I swore I just corrected that 
spelling mistake 2 sec. ago.  Why is it still there?")  What I think 
is going on is that, between whatever write-behind disk caching XP 
does (even when one turns it off), and whatever file-caching Stata 
might do, and whatever Textpad might do, a file saved in Textpad, 
even when saved several times in succession, is not resulting in the 
version being accessed by "do myfile.do" being the freshest version. 
I find that doining a "save-as" rather than a "save" (but to the same 
filename) avoids the problem, but I don't think that this definitely 
conficts any one of the several softwares involved.

I'm running v.11, updated.   It's my casual impression that I did not 
have this problem come up in v. 9 or 10.  Anyone else experience 
this, or have any ideas for a cure?  The problem, I think, could be 
either a main effect or interaction of the several software 
programs.  And yes, I could change to a different OS or different 
text editor, but that seems like overkill for this problem.  Using 
the built-in do file editor, for me, is not a choice until it permits 
remapping of the keyboard, contains good search and replace features, 
reg. expressions, etc.
FWIW, I've had this problem on more than one Wintel machines, of 
quite different vintages.

Regards,
=-=-=-=-=-=-=-=-=-=-=-=-=
Mike Lacy, Assoc. Prof.
Soc. Dept., Colo. State. Univ.
Fort Collins CO 80523 USA
(970)-491-6721   


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index