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?
Asked
Active
Viewed 9,892 times
2 Answers
17
Yes. Use the XML
package. There's a function called xmlToDataFrame which will make your life easy.

Shane
- 98,550
- 35
- 224
- 217
0
-
1No, RSXML is precursors to XML, and only on Omegahat. You really want XML as Shane said. – Dirk Eddelbuettel Dec 25 '09 at 02:21
-
Why does the XML entry on CRAN link to the RSXML website? http://cran.r-project.org/web/packages/XML/ – las3rjock Dec 25 '09 at 23:43