Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Error with plugin

From   Nick Cox <>
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.


On Mon, Sep 24, 2012 at 5:57 PM, Pradipto Banerjee
<> 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: [] On Behalf Of Nick Cox
> Sent: Monday, September 24, 2012 12:40 PM
> To:
> 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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index