[R] Stata file Import and Analysis in R

Fredrik Karlsson dargosch at gmail.com
Mon Jun 29 15:18:42 CEST 2009


Hi,

You should install the foreign package and try the read.dta function.
I don't know whether the size of your fiel will be a problem, but you
would try it at least.

/Fredrik


On Mon, Jun 29, 2009 at 1:58 PM, saurav pathak<pathak.saurav at gmail.com> wrote:
> Hi
> I have a  stata data set (.dta file) of size 600 MB, I need to import it in
> R and do a 2SLS multilevel analysis on the data set. I would eb grateful if
> help is provided for the first part of how to import this big file from
> Stata to R and then how to open the imported Stata file in R?
> Kindly help
> Thanks in advance
>
> --
> Dr.Saurav Pathak
> PhD, Univ.of.Florida
> Mechanical Engineering
> Doctoral Student
> Innovation and Entrepreneurship
> Imperial College Business School
> s.pathak08 at imperial.ac.uk
> 0044-7795321121
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
"Life is like a trumpet - if you don't put anything into it, you don't
get anything out of it."




More information about the R-help mailing list