saving . . . saved Error in importing XML file has been deleted. Error in importing XML file has been hidden .
Error in importing XML file
Title
Question
I'm writing the same code as shown in the video and also installed libxml2 package but as soon as I run the below code I get the mentioned error.

Error in (function (cond)  : 
  error in evaluating the argument 'doc' in selecting a method for function 'xmlToDataFrame': XML content does not seem to be XML: ''

Code:
library(XML)

xmlData <- xmlToDataFrame("MyCaptaincyXML.xml")
View(xmlData)

R Merging-and-Importing-Data 10-11 min 30-40 sec 28-12-22, 5:42 p.m. Kashish_Gautam

Answers:

Log-in to answer to this question.