Error in download.file unsupported URL scheme

前端 未结 2 1934
忘了有多久
忘了有多久 2021-01-05 19:35

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         


        
相关标签:
2条回答
  • 2021-01-05 19:46

    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.
    
    0 讨论(0)
  • 2021-01-05 19:58

    In Ubuntu, you can use method = "curl" to use curl to download.

    0 讨论(0)
提交回复
热议问题