Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Data files and DOS (!) names


From   Joly.Patrick@ic.gc.ca
To   statalist@hsphsun2.harvard.edu
Subject   st: Data files and DOS (!) names
Date   Mon, 31 Mar 2003 16:06:04 -0500

I just installed Stata 8.  I haven't sampled the whole array of new features
yet but so far...  the graphics?  stunning!  The new debugging tools?
alleluia!!!  My productivity has just shot through the roof!   Thanks
StataCorp for another impressive release.

I have to admit that I now understand (and share) the frustration expressed
by fellow users stemming from the Review and Variables window always staying
on top.  Given that it is impossible to zoom the data browser/editor window,
it is now twice as hard to quickly eyeball variables.
'Clickity-clickity-click... will I ever get to see that last variable I
generated'.

Now, my query
-------------

Why is Stata now using DOS names rather the full names of data files when
one double-clicks on a .dta icon (Win2k)?  Seems like a step backward to me
(I thought we had been freed of DOS!!).  This wouldn't be so terrible if
Stata didn't clobber the filename altogether during a subsequent -save,
replace-.  For instance, in Stata7, double-clicking on a data file results
in:

   running s:\ias\JOLYP\data\profile.do ...

   . use "P:\My Projects\Profitability\Presentations\GCR01Innov_cap.DTA"
   (Global Comp Rep, 2.2: National Innovative Capacity, Table 1)
   . save, replace
   file P:\My Projects\Profitability\Presentations\GCR01Innov_cap.DTA saved
   . dir "P:\My Projects\Profitability\Presentations\"
     <dir>   2/17/03 10:39  .                 
     <dir>   2/17/03 10:39  ..                
       7.1k   3/31/03 15:38  GCR01Innov_cap.DTA      

But now in Stata8, the same procedure results in

   running s:\ias\JOLYP\data\profile.do ...

   . use "P:\MYPROJEC\PROFITAB\PRESEN~1\GCR01I~1.DTA" 
   (Global Comp Rep, 2.2: National Innovative Capacity, Table 1)
   . save, replace
   file P:\MYPROJEC\PROFITAB\PRESEN~1\GCR01I~1.DTA saved
   . dir "P:\My Projects\Profitability\Presentations\"
     <dir>   2/17/03 10:39  .                 
     <dir>   2/17/03 10:39  ..                
      7.1k   3/31/03 15:38  GCR01I~1.DTA      

The filename has been clobbered.  This is very frustrating since I open many
datasets this way.  The same thing happens when a graph is double-clicked
but at least, in my own use, I never need to save them a second time.  


Patrick Joly
joly.patrick@ic.gc.ca
pat.joly@utoronto.ca
*
*   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