tags:

views:

237

answers:

2

I want to import an XML file from polarpersonaltrainer.com that stores heartrate data into a R data.frame. Is there a package that makes importing XML easy or do I have to write my own parser?

+5  A: 

Yes. Use the XML package. There's a function called xmlToDataFrame which will make your life easy.

Shane
A: 

You might find RSXML useful. It's also in CRAN.

lfaraone
No, RSXML is precursors to XML, and only on Omegahat. You really want XML as Shane said.
Dirk Eddelbuettel
Why does the XML entry on CRAN link to the RSXML website? http://cran.r-project.org/web/packages/XML/
las3rjock