Re: [R] .dta from e-mail

2011-08-05 Thread adasgu...@araastat.com
.dta is usually a State data file. Thou would be able to read it in R with the function read.dta in the package foreign. Abhijit Sent from my HTC Aria™ smartphone on AT&T - Reply message - From: "Gabriel Cepaluni" Date: Fri, Aug 5, 2011 9:35 pm Subject: [R] .dta from

Re: [R] .dta from e-mail

2011-08-05 Thread Jeff Newmiller
dta is a very generic extension, so that is not enough information. I recommend saving it and opening it with a text editor. If it is binary, you will need to ask the sender how to open it. --- Jeff Newmiller The . .

Re: [R] .dta from e-mail

2011-08-05 Thread Dennis Murphy
library('foreign') d <- read.dta('yourfile.dta') read.dta() reads in files having "Stata version 5–11 binary format into a data frame". Make sure you read the help page ?read.dta after you load the foreign package and before you try to read in the data. HTH, Dennis On Fri, Aug 5, 2011 at 6:35 PM

[R] .dta from e-mail

2011-08-05 Thread Gabriel Cepaluni
I got a .dta extension file by e-mail, but I can't save it in my computer and open it in R. How can I do it? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th