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

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

From   Sergiy Radyakin <>
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:
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:

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<> 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<> 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
> Small print: I use this email account for mailing lists only.
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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