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

From |
Sergiy Radyakin <serjradyakin@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Can I read Stata binary files in cpp? |

Date |
Mon, 31 Aug 2009 19:14:30 -0400 |

I can't answer Stas's question, but Serguei will most probably find this page helpful: http://www.stata.com/help.cgi?dta because it contains the fragments of the actual C-code to read Stata .dta files. Also R has a package FOREIGN, which is open source and the code shows how to read Stata files. The source is here: http://cran.r-project.org/web/packages/foreign/index.html http://cran.r-project.org/src/contrib/foreign_0.8-37.tar.gz Unfortunately I could not find descriptions for the older Stata formats :( Perhaps Stata developers could make those descriptions available? Best regards, Sergiy Radyakin On Mon, Aug 31, 2009 at 2:39 PM, Stas Kolenikov<skolenik@gmail.com> wrote: > [growling lowly] Why all these Russians by the name of Serguei (or > Sergey, or whatever) want to hack into guts of Stata? > > On Sun, Aug 30, 2009 at 5:08 AM, Serguei > Kaniovski<Serguei.Kaniovski@wifo.ac.at> wrote: >> If I saved data in the binary format, would I be able to read it in c or >> c++ on a windows machine? > > -- > Stas Kolenikov, also found at http://stas.kolenikov.name > Small print: I use this email account for mailing lists only. > * > * 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: Can I read Stata binary files in cpp?***From:*Serguei Kaniovski <Serguei.Kaniovski@wifo.ac.at>

**Re: st: Can I read Stata binary files in cpp?***From:*Stas Kolenikov <skolenik@gmail.com>

- Prev by Date:
**RE: st: xtmixed with vce robust or cluster robust** - Next by Date:
**st: correlated data** - Previous by thread:
**Re: st: Can I read Stata binary files in cpp?** - Next by thread:
**st: re: Error with MIM installed command** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |