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, **statalist.org** is already up and running.

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

From |
Robert Picard <picard@netbox.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: new outreg and error code r(3499) |

Date |
Fri, 6 Apr 2012 13:08:34 -0400 |

This error might have to do with how Stata finds programs (ado files) and Mata libraries. The -adopath- is searched at the time a program is called. The Mata libraries are indexed when Stata is started. You can reproduce this error by putting the- outreg- installation files in a directory that is not visible to Stata when the program is launched (not in the -adopath-). If the current directory is changed to the one that contains -outreg-, the program will launch (because the current directory is included in -adopath-) but the l_cfrmt.mlib will not be found unless -mata mata mlib index- is used to rebuild the index. Robert On Fri, Apr 6, 2012 at 12:35 PM, Nick Cox <njcoxstata@gmail.com> wrote: > You are not saying where you got your files from or _exactly_ how you > installed them. Equally I am still just guessing that the problem lies > in your installation because I can't reproduce the error. But exactly > how you did it may be the root of the problem. > > What you seem to be missing is code for _CColJoin() which I guess to > be included in > > http://www.stata-journal.com/software/sj12-1/sg97_4/l_Cfrmt.mlib > > John Gallup, the author of -outreg-, should be able to advise more directly. > > Nick > > On Fri, Apr 6, 2012 at 5:20 PM, Neil R. Meredith <nrmeredith@gmail.com> wrote: >> Any ideas on how to update earlier versions of a Mata function? >> >> On Fri, Apr 6, 2012 at 11:03 AM, Nick Cox <njcoxstata@gmail.com> wrote: >>> The new -outreg- command is user-written and from Stata Journal 12(1). >>> Please remember that you are asked to explain this. >>> >>> I just installed -outreg- and and the same code worked fine for me on >>> Stata 10.1. So, despite the installing and uninstalling, something is >>> wrong with the way you did it. The difficulty lies in the Mata >>> functions, which in this case are in a library. My wild guess is that >>> Stata is seeing an earlier version of those Mata functions and one has >>> been rewritten. >>> >>> Nick >>> >>> On Fri, Apr 6, 2012 at 4:45 PM, Neil R. Meredith <nrmeredith@gmail.com> wrote: >>> >>>> I’ve been working with the new outreg command and keep receiving error >>>> code r(3499). I’ve read all the posts I could find in the archive >>>> related to this problem and I’ve tried installing and uninstalling >>>> outreg, installing outreg then restarting Stata before using outreg, >>>> restarted my computer, and uninstalled then reinstalled Stata. I am >>>> using Stata version 10.1. Here is an example of what I am seeing: >>>> >>>> sysuse auto, clear >>>> (1978 Automobile Data) >>>> >>>> reg mpg foreign weight >>>> >>>> Source | SS df MS Number of obs = 74 >>>> -------------+------------------------------ F( 2, 71) = 69.75 >>>> Model | 1619.2877 2 809.643849 Prob > F = 0.0000 >>>> Residual | 824.171761 71 11.608053 R-squared = 0.6627 >>>> -------------+------------------------------ Adj R-squared = 0.6532 >>>> Total | 2443.45946 73 33.4720474 Root MSE = 3.4071 >>>> >>>> ------------------------------------------------------------------------------ >>>> mpg | Coef. Std. Err. t P>|t| [95% Conf. Interval] >>>> -------------+---------------------------------------------------------------- >>>> foreign | -1.650029 1.075994 -1.53 0.130 -3.7955 .4954422 >>>> weight | -.0065879 .0006371 -10.34 0.000 -.0078583 -.0053175 >>>> _cons | 41.6797 2.165547 19.25 0.000 37.36172 45.99768 >>>> ------------------------------------------------------------------------------ >>>> >>>> . outreg >>>> MakeSmat(): 3499 _CColJoin() not found >>>> CalcStats(): - function returned error >>>> <istmt>: - function returned error >>>> r(3499); >>>> >>>> I thought that this issue was fixed this past summer. Does anyone have >>>> any suggestions? Your help is greatly appreciated. > > * > * 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/ * * 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/

**References**:**st: new outreg and error code r(3499)***From:*"Neil R. Meredith" <nrmeredith@gmail.com>

**Re: st: new outreg and error code r(3499)***From:*Nick Cox <njcoxstata@gmail.com>

**Re: st: new outreg and error code r(3499)***From:*"Neil R. Meredith" <nrmeredith@gmail.com>

**Re: st: new outreg and error code r(3499)***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Re: st: new outreg and error code r(3499)** - Next by Date:
**st: Capturing the date and which something first occurs** - Previous by thread:
**Re: st: new outreg and error code r(3499)** - Next by thread:
**RE: st: new outreg and error code r(3499)** - Index(es):