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?
Yes. Use the XML
package. There's a function called xmlToDataFrame which will make your life easy.