xmlToDataFrame function is not available in XML Package
Title
Question
I've successfully installed XML package. Under package list it is showing as "Documentation for package ‘XML’ version 3.99-0.5".
But in XML package , the function "xmlToDateFrame" is not found.
After running the command - xmldata <- xmlToDataFrame("CaptaincyData.xml")
Error message shows as - Error in xmlToDataFrame("CaptaincyData.xml") :
could not find function "xmlToDataFrame"
Please help.
R Merging-and-Importing-Data 10-11 min 40-50 sec
Answers:
Try:
install.packages("XML")
library(XML)
df=xmlToDataFrame("CaptaincyData.xml")
df
Otherwise:
Try to install your XML package again. Maybe due to incorrect installation it is showing that.
Login to add comment