作者:小鬼shenzhen | 来源:互联网 | 2023-05-18 01:30
IamtryingtogetthisXMLfile,butamunableto.Icheckedtheothersolutionsinthesametopic,
I am trying to get this XML file, but am unable to. I checked the other solutions in the same topic, but I couldn't understand. I am a R newbie.
我正在尝试获取这个XML文件,但是我不能。我查看了同一主题中的其他解决方案,但我无法理解。我是新手。
> library(XML)
> fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml"
> doc <- xmlTreeParse(fileURL,useInternal=TRUE)
Error: XML content does not seem to be XML: 'https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Frestaurants.xml'
错误:XML内容似乎不属于XML:“https://d396qusza40orc. cloudfront.net/getdata%2fdata%2fdata%2fre土星. XML”
Can you please help?
你能请帮助吗?
4 个解决方案