Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: moremata on the Mac


From   "Fred Wolfe" <[email protected]>
To   [email protected]
Subject   Re: st: Re: moremata on the Mac
Date   Wed, 23 Apr 2008 06:08:10 -0500

Thanks,Kit.

On Wed, Apr 23, 2008 at 5:32 AM, Kit Baum <[email protected]> wrote:
> This is not a Mata programming issue. It is a matter of accessing the right
> object libraries of Mata routines, which is something that Stata is supposed
> to do automatically. Similar problems have been discussed regarding David
> Roodman's -xtabond2-: someone installs a new version that has a new feature,
> and it does not work for them immediately after installation. If you quit
> Stata and restart, your first invocation of a Mata routine will rebuild the
> library list. You can use the 'mata mlib index' command to make that happen
> on the fly. But exiting Stata and starting a new Stata session will always
> deal with the problem.
>
>  This happens with official Stata as well, as the first libraries to be
> searched are the official Mata libraries:
>
>
> > . mata:mata mlib query
> > .mlib libraries to be searched are
> >
> lmatabase;lmataado;lmataopt;lcmp;lfreduse;lkdens;lmoremata;lmoremata10;lrpn;lsomersd;ls
> > > q;lsqbm;lxtabond2
> >
> >
>  You don't usually see the problem there, though, as when you update
> official Stata you often update the executable, and swapping executables
> will have the same effect as exiting and restarting Stata.
>
>  Kit Baum, Boston College Economics and DIW Berlin
>  http://ideas.repec.org/e/pba1.html
>  An Introduction to Modern Econometrics Using Stata:
>  http://www.stata-press.com/books/imeus.html
>
>
>  On Apr 23, 2008, at 02:33 , Fred wrote:
>
> > Thanks, Kit, that fixed it. As a non-mata programmer, how would I have
> > known that I should have issued  that command?
> >
>
>  *
>  *   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/
>



-- 
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office +1 316 263 2125 Ext 0
Research Office +1 316 686 9195
[email protected]
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index