[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: dealing with directories in.ado files
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 <Richard.A.Williams.5@ND.edu> 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.
> 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
> HOME: (574)289-5227
> EMAIL: Richard.A.Williams.5@ND.Edu
> WWW (personal): http://www.nd.edu/~rwilliam
> WWW (department): http://www.nd.edu/~soc
> * 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/
* For searches and help try: