Hi everyone, please I'm having problem importing data from Stata and excel. Help me out. Thanks --------------------------------- [[elided Yahoo spam]] [[alternative HTML version deleted]]
First step would be to read the manual on the R site "R Data Import/Export" describes the import and export facilities available either in R itself or via packages which are available from CRAN Then if that does not solve the problem you need to explain in detail what the problems are, preferably with the code that you are using. See the instructions at the bottom of the post. --- Yemi Oyeyemi <gmoyeyemi at yahoo.com> wrote:> Hi everyone, please I'm having problem importing > data from Stata and excel. Help me out. > Thanks > > > --------------------------------- > [[elided Yahoo spam]] > [[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. >
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.
import stata data should be straight. take a look at foreign package On Wed, May 7, 2008 at 9:30 AM, Yemi Oyeyemi <gmoyeyemi at yahoo.com> wrote:> Hi everyone, please I'm having problem importing data from Stata and excel. Help me out. > Thanks > > > --------------------------------- > [[elided Yahoo spam]] > [[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. >-- ==============================WenSui Liu ChoicePoint Precision Marketing Phone: 678-893-9457 Email : wensui.liu at choicepoint.com Blog : statcompute.spaces.live.com