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: where is StataCorp C code located? all in a single executable as compiled binary?


From   "Roger B. Newson" <[email protected]>
To   [email protected]
Subject   Re: st: where is StataCorp C code located? all in a single executable as compiled binary?
Date   Sun, 18 Aug 2013 21:31:37 +0100

I think you'll find that everything really is in the executable "/Applications/Stata/StataMP.app/Contents/MacOS/StataMP". This is because Stata is not open-source, and was never supposed to be. StataCorp have to make a living, and would probably not be able to do so if it was open-source and users could make generic copies.

A lot of the code for a lot of official Stata is open-source (ie in ado-files), but -tabulate- isn't. If you type, in Stata,

which tabulate

then Stata will answer

built-in command:  tabulate

meaning that there is no file -tabulate.ado-.

I hope this helps.

Best wishes

Roger

Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

Opinions expressed are those of the author, not of the institution.

On 18/08/2013 21:21, László Sándor wrote:
Hi all,

I am trying to understand how -tabulate, summarize- works. I
understand that much of it is written in C code, but I would still
expect to find some black boxes of files that do the magic. I think I
checked all folders, incl. hidden folders within /Applications/Stata
on my mac, and even checked the package contents of
/Applications/Stata/StataMP. I found no trace of -tabulate-, or any
other plugin/DLL whatsoever. Is everything wrapped into the Unix
executable "/Applications/Stata/StataMP.app/Contents/MacOS/StataMP"?
Really?

As I only need the results of -tab, sum()-, I hope to see some code
calling -_tab.ado- or some other code to display the results. Is
everything in the compiled binary instead?

Well, something must add up those 33.9 MBs…

Thanks for any thoughts,

Laszlo

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