Re: [R] Stata Database & R

2012-10-28 Thread S Ellison
Lorenzo Isella [lorenzo.ise...@gmail.com] Sent: 26 October 2012 21:10 To: r-h...@stat.math.ethz.ch Subject: [R] Stata Database & R 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

Re: [R] Stata Database & R

2012-10-27 Thread Daniel Nordlund
Or use read.dta from foreign package. Dan On Oct 26, 2012 1:15 PM, "Loukia Spineli" 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 > wrote: > > > Dear All, > > I am given some

Re: [R] Stata Database & R

2012-10-26 Thread Loukia Spineli
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 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 impor

[R] Stata Database & R

2012-10-26 Thread Lorenzo Isella
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.o