I am working with an algorithm R that calls a webservice that makes a query to a database and returns a JSON object.
url <- \"https://example.com?id=1\"
j
From the Details section of ?download.file
.
Note that 'https://' URLs are only supported if '--internet2' or environment variable 'R_WIN_INTERNET2' was set or 'setInternet2(TRUE)' was used (to make use of Internet Explorer internals), and then only if the certificate is considered to be valid.
In Ubuntu, you can use method = "curl"
to use curl to download.