Or use read.dta from foreign package. Dan On Oct 26, 2012 1:15 PM, "Loukia Spineli" <spinelilouki...@gmail.com> wrote:
> Install the "ares" library first. Then type import.data("the direction you > have saved the data","dta"). > > On Fri, Oct 26, 2012 at 11:10 PM, Lorenzo Isella > <lorenzo.ise...@gmail.com>wrote: > > > Dear All, > > I am given some data to analyze. The data is in the form of a Stata > > database (.dta file). > > What is the best way to import it into an R dataframe? > > Is there any particular caveat I should be aware of? > > Many thanks > > > > Lorenzo > > > > ______________________________**________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/**listinfo/r-help< > https://stat.ethz.ch/mailman/listinfo/r-help> > > PLEASE do read the posting guide http://www.R-project.org/** > > posting-guide.html <http://www.R-project.org/posting-guide.html> > > and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > [[alternative HTML version deleted]] ______________________________________________ R-help@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.