【问题标题】:Rcurl Proxy Authentification in R 3.5R 3.5 中的 Rcurl 代理身份验证
【发布时间】:2018-06-13 09:19:33
【问题描述】:

我终于能够通过设置 proxyauth ="ntlm" 来使用 Rcurl::geturl(),不幸的是,当将 R 更新到 R 3.5 并将 Rstudio 更新到最新版本时,这一切都变得疯狂了,我得到了错误 身份验证失败,因为未提供凭据或无法验证它们,这是我的代码:

curl=getCurlHandle()
opts <- list(
  proxy         = 'proxy', 
  verbose=T,
  proxyuserpwd = "username:pswd", 
  proxyport     = 80,
  proxyauth ="ntlm",
  httpauth = 1L)

options(RCurlOptions=opts)
getOption("RCurlOptions")
RCurl::getURL("http://stackoverflow.com") 

【问题讨论】:

  • This 可能会帮助你

标签: r proxy rcurl


【解决方案1】:

我设置成功了

proxyauth = 8

【讨论】:

    猜你喜欢
    • 2023-03-18
    • 2014-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-28
    • 2023-03-25
    • 2020-12-07
    • 2013-07-31
    相关资源
    最近更新 更多