Bookmark and Share

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: Error with plugin


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Error with plugin
Date   Mon, 24 Sep 2012 18:08:55 +0100

I see. As you are running Stata 9.2, you are missing out on many
optimisation tools in 12.1.

Nick

On Mon, Sep 24, 2012 at 5:57 PM, Pradipto Banerjee
<[email protected]> wrote:
> Thanks, Nick. Works perfectly now.
>
> I like Mata a lot. Unfortunately, Mata lacks dedicated linear/quadratic optimization. I am hoping to compiling one of the free optimizers with the Stata plugin and get some optimization functions.
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
> Sent: Monday, September 24, 2012 12:40 PM
> To: [email protected]
> Subject: Re: st: Error with plugin
>
> I passed smoothly and painlessly from not needing to use plugins to
> being aware that Mata offered the power of plug-ins without the pain.
> So here I am guessing.
>
> r(102) is explained within what you cite as not enough variables. So,
> the natural debug question is what in what you typed is to leading to
> Stata failing to see a (large enough) varlist? I would point a finger
> at your line
>
> plugin call varsum, x1 x2 x3
>
> Here the comma is, I guess, leading to an empty varlist and your error
> message. I see no grounds for inserting a comma there.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index