Roger Newson <[email protected]> asked about distributing user-written
Mata libraries, and in particular, about the -mata mlib index-
command, his question being
> However, if I distribute a .mlib library as part of one of my Stata packages
> (on SSC or on my website). and a user downloads the package and wants to use
> it immediately, then does the user have to actively type -mata mlib index-
I wanted to say no, the user does not have to do this, but I just checked
the code, and the answer is "Yes, the user must" because we forgot to set an
internal flag after -update- and after -net install-. I have listed this as a
bug.
Hence, right now, a user must type -mata mata mlib index- after after loading
a new .mlib library, or they must exit and restart Stata. The problem is
only with the session during which the new library was loaded. In all future
sessions, the indexing takes care of itself, and we will get the
current-session indexing fixed.
-- Bill
[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/