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

st: RE: all matrix names in namelist?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: all matrix names in namelist?
Date   Thu, 25 Nov 2004 15:18:05 -0000

As I understand it, the real question here is whether 
you can pick up the results of -mat dir- automatically and 
the answer appears to be: not easily. I can only think 
of turning on a log, doing -mat dir-, closing the log 
and then processing the log. But that would be awkward 
to say the least, not least if a log is already in 
process. 

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

Andrew
 
> I am writing a program which (optionally) allows matrices to 
> be passed 
> as inputs. If the user specifies any matrices, then I will use these. 
> However, if the user does not specify any matrices I wish to 
> store the 
> name of ALL matrices in a local, so my program can default to 
> use these instead.
> 
> Does anybody know if it is possible to do this (store all 
> matrix names in a local)?

*
*   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