[R] Importing data

Neil Shephard nshephard at gmail.com
Wed May 7 16:35:04 CEST 2008




Yemi Oyeyemi wrote:
> 
> Hi everyone, please I'm having problem importing data from Stata and
> excel. Help me out.
>   Thanks
> 
> 

You don't provide...

a) the code that you've tried

b) the error message that relates to the problem you are having

...without these people have little information on what _exactly_  your
problem is.  Please read the R-help posting guide as advised in the
signature of every mail that appears on the list.  For clarity its...
 
"PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code. "

In this instance you would also do well to read the "R Data Import/Export"
manual at http://cran.r-project.org/doc/manuals/R-data.html and pay
particular attention to section 3 titled "Importing from other Statistical
Systems"
(http://cran.r-project.org/doc/manuals/R-data.html#Importing-from-other-statistical-systems).

This would lead you to the read.dta() and write.dta() functions for
respectively reading and writing Stata formatted data sets.

Neil
-- 
View this message in context: http://www.nabble.com/Importing-data-tp17104951p17106184.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list