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

Re: st: dealing with directories in.ado files

From   "NEYMOTIN, FLORENCE" <[email protected]>
To   [email protected]
Subject   Re: st: dealing with directories in.ado files
Date   Mon, 20 Jun 2005 15:09:18 -0700

okay, the preserve-restore thing helps for the cases where I'm building matrices with a subset of
the data. I'm "assuming" that the matrices and scalars you make when working with a different
dataset are preserved for when you do the restore command.  If I WERE to want to keep part of the
dataset around though (say I wanted to take a subset of the data and then re-merge it with the
ORIGINAL DATASET, then where would I keep the data from the original one before doing the restore?
i.e. if you do something for people to use in different directories, then what path should be
specified for this kind of thing?  thanks for your help.

On Mon, 20 Jun 2005 16:44:24 -0500
   Richard Williams <[email protected]> wrote:
> At 02:15 PM 6/20/2005 -0700, Florence Neymotin wrote:
>>Hi, I was wondering, if you are writing a .ado file to be used as a stata
>>add-on, then if you need to do a preserve restore, what is the default to
>>use as the directory for this?  I wasn't sure whether "home" or the temp
>>files associated with the stata program would be better here.
>>Thank you,
> I'm not sure I understand the question.  You do not have to specify a directory when using
>preserve and restore.  Further, I suspect Stata doesn't write anything to disk, unless you have
>allocated more memory than you have, but I could be wrong about that.
> If you are talking about where to store your own personally written ado file, I imagine
>c:\ado\personal (or whatever -adopath- tells you is the "personal" directory) is probably the
>most common place.
> If I'm not understanding you correctly, perhaps you could clarify exactly what it is you want.
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
>FAX:    (574)288-4373
> HOME:   (574)289-5227
> EMAIL:  [email protected]
> WWW (personal):
> WWW (department):
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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