Importing data from an XML file into R
I want to import an XML file from polarpersonaltrainer.com that stores heartrate data int开发者_如何学运维o a R data.frame. Is there a package that makes importing XML easy or do I have to write my own parser?
Yes. Use the XML
package. There's a function called xmlToDataFrame which will make your life easy.
You might find RSXML useful. It's also in CRAN.
精彩评论