Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Roger B. Newson" <r.newson@imperial.ac.uk> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: where is StataCorp C code located? all in a single executable as compiled binary? |
Date | Sun, 18 Aug 2013 22:04:36 +0100 |
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: r.newson@imperial.ac.uk 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:49, László Sándor wrote:
Thanks, Roger. I never meant that StataCorp should give away their source. I was only hoping to squeeze out some more interoperability. And so much of the rest of the code is in smaller chunks. Not -tabulate-, I see. I should have thought of -which-. I only wanted to capture some of the results/output without logging and parsing the log. Thanks, Laszlo On Sun, Aug 18, 2013 at 4:31 PM, Roger B. Newson <r.newson@imperial.ac.uk> wrote: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: r.newson@imperial.ac.uk 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/* * 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/