[R] Import big xml data

Nordlund, Dan (DSHS/RDA) NordlDJ at dshs.wa.gov
Wed Jul 13 17:30:34 CEST 2011


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of David Winsemius
> Sent: Wednesday, July 13, 2011 8:17 AM
> To: Sebastian Kruk
> Cc: r-help at r-project.org
> Subject: Re: [R] Import big xml data
> 
> 
> On Jul 13, 2011, at 8:09 AM, Sebastian Kruk wrote:
> 
> > Dear R users,
> >
> > I would like to import a big xml file. I don't want to learn about
> xml
> > structures, just to import all the data to a data frame.
> 
> >
> > How can I do it?
> 
> I am reminded of this:
> 
> library(fortunes)
> fortune("brain surgery")
> 
> 

But, just in case the OP is willing to at least learn a little about how to deal with XML files, he could download and install the sos package.  Then 

>library(sos)
>findFn('XML')
found 686 matches;  retrieving 20 pages, 400 matches.

So there are lots of packages and functions to choose from.


Hope this is helpful,

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204



More information about the R-help mailing list