如何查看 RCurl 选项
有没有办法查看 R 会话中curl 选项的当前设置?
我的问题是,我位于代理后面,必须设置代理选项才能使连接正常工作,并且在调用 listMarts() 函数(来自 biomaRt 库,使用 getURL())后,选项被更改(重置?)并且尝试再次调用该函数时连接不起作用。所以我想看看调用函数之前和之后的选项。
设置我使用的选项:(
options(RCurlOptions = list(proxy="gateway:port",
proxyuserpwd="domain\\username:password",
proxyauth="ntlm"))
当我调用 options() 时,我可以看到这些选项的设置,尽管如此,它们不是我感兴趣的设置,我想要 RCurl 选项)
有什么想法吗?
Is there a way to view the current settings of curl options in an R session?
My problem is that I am behind a proxy and have to set the proxy options for the connection to work, and after calling a listMarts() function (from biomaRt library, uses getURL()) the options are changed(reset?) and the connection does not work when trying to call the function again. So I'd like to see the options before and after the function is called.
to set the options I use:
options(RCurlOptions = list(proxy="gateway:port",
proxyuserpwd="domain\\username:password",
proxyauth="ntlm"))
(I can see the setting of these options when I call options(), nevertheless they are not the settings I am interested I want the RCurl options)
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许我错过了一些东西,但是怎么样:
Perhaps I'm missing something, but how about: