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: View source code of mata function from library mataado


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: View source code of mata function from library mataado
Date   Tue, 26 Nov 2013 16:00:10 +0000

No; this is not surprising. -viewsource-, as its name implies, is for
viewing source code. Anything in an .mlib is object code. Regardless
of whether it is visible to you, no human can make sense of it.

Mata programmers aren't obliged to make their source code available
and there could be good reasons not to do that.

Nick
[email protected]


On 26 November 2013 15:08, Matthieu Stigler
<[email protected]> wrote:
> Hi
>
> I would like to see the source code of the mata function
> _iv_kclass_wrk, contained in the mataado.mlib library. However, when
> typing:
> viewsource _iv_kclass_wrk.mata
>
> I get an error message. This is surprising since:
> : mata which _iv_kclass_wrk
>   _iv_kclass_wrk():  lmataado
> : end
>
> confirms this function exists and is in lmataado. How is it possible
> to inspect the source code? It does not look like viewsource/source
> have optional arguments to precise the mlib library location?
>
> note this question is very similar to:
> http://www.stata.com/statalist/archive/2013-01/msg01387.html
>
> which remained apparently unanswered?
>
> Thanks a lot!
>
> Matthieu
> *
> *   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/
*
*   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/


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