Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: somersd error message
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: somersd error message
Date
Wed, 31 Oct 2012 12:01:16 +0100
--- On Wed, Oct 31, 2012 at 11:37 AM, Barry Quinn wrote:
> I am using Stata12 on a Mac and have recently used -ssc install- to install the above package.
>
> i am continually get the following error when running the command
>
> tidotforsomersd(): 3499 tidottree() not found
> <istmt>: - function returned error
> r(3499);
>
> my Stata12 is updated to the latest version and i have used the auto.dta example from the help file which also produces the above error.
I suspect that the problem is that -somersd- uses a pre-compiled Mata
function library. In order for Mata (and thus Stata ( and thus
-somersd-)) to use it, it first needs to add it to its index. However,
this does not happen automatically after you install a program with
-ssc-. The reason is that that would also clear the Mata (not Stata)
memory, which would be very un-stataish behavior for a Stata program
like -ssc-, though probably unproblematic in most cases. As soon as
you restart Stata, Stata will automatically index the necessary Mata
functions and -somersd- should run. Alternatively, you don't have to
restart Stata if you type -mata:mata mlib index-. Anyhow, if this is
the problem than this issue only bites in the Stata session in which
you installed -somersd-.
-- Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/