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]

st: Re: Where to place .mo files


From   Richard Herron <richard.c.herron@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Where to place .mo files
Date   Mon, 9 Jan 2012 16:02:04 -0500

Disregard. I may need to discuss with the original author. If I type
-viewsource optw.mo- in the console, I can see the source code, which
suggests the .mo files are not compiled.

On Mon, Jan 9, 2012 at 15:19, Richard Herron <richard.c.herron@gmail.com> wrote:
> I have a .do file and some associated .mo files (found on a
> researcher's website), but the .do file can't find the .mo files (at
> least the first one) and gives the error:
>
> <istmt>:  3499  optw() not found
>
> where -optw()- is the name of the mata function, which has a filename
> "optw.mo" and is in the current directory.
>
> I have tried -mata : mata set matamofirst on-, -adopath ++ .-, and
> saving the .mo files to a subfolder in my PERSONAL folder, but none of
> these allow the .do file to find the .mo file.
>
> How can I fix this? Do I need to somehow manually load .mo files? Thanks!

*
*   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