That is explained in ?url
: http://
URLs work exactly like files everywhere,
but https://
URLs do not.
Note that the
https://
URL scheme is not supported except on Windows. There it is only supported if--internet2
orsetInternet2(TRUE)
was used (to make use of Internet Explorer internals), and then only if the certificate is considered to be valid. With that option only, thehttp://user:pass@site
notation for sites requiring authentication is also accepted.
You can explicitly use RCurl
:
fromJSON(RCurl::getURL("https://issues.apache.org/jira/rest/api/2/project"))