Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从 polarpersonaltrainer.com 导入一个 XML 文件,该文件将心率数据存储到 R data.frame 中。是否有一个包可以使导入 XML 变得容易,还是我必须编写自己的解析器?
是的。使用XML包。有一个名为 xmlToDataFrame 的函数将使您的生活变得轻松。
XML
您可能会发现RSXML很有用。它也在CRAN中。