Issues with getURL and xmlToList

Could someone please try the code below on your side?

url <- getURL("https://raw.githubusercontent.com/Arrendi/r-exercises-dw/master/part-2/data.xml")
xml_file <- ldply(xmlToList(url), data.frame)

I get the errors below:

url <- getURL("https://raw.githubusercontent.com/Arrendi/r-exercises-dw/master/part-2/data.xml")
Error in function (type, msg, asError = TRUE) :
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
xml_file <- ldply(xmlToList(url), data.frame)
Error: XML content does not seem to be XML: ''

It looks to me that there is something wrong with my R Studio because I cannot use getURL at all, nor some other functions. I have installed the required packages and I also loaded the libraries.

Please help. Thanks so much.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.