R:指定SSL版本Rcurl的getURL声明

问题描述 投票:2回答:1

瞄准我想写一个语句连接到SharePoint在线列表检索数据在使用R.

背景这是使用RCurl /卷曲/ libcurl中我第一次和我已经尝试阅读文档,但它超出了我,没有任何相关的例子。

运用

a<-getURL("https://example.sharepoint.com/_vti_bin/listdata.svc/Glossary")

导致错误

Error in function (type, msg, asError = TRUE)  : 
  Unknown SSL protocol error in connection to example.sharepoint.com:443 

神秘的libcurl文件的谷歌的组合和解密确定,这个问题是由于SSL类型。我用卷曲壳核实和我从SharePoint服务器作为结果的积极响应(当然,除了需要添加用户名和密码)

curl https://example.sharepoint.com/_vti_bin/listdata.svc/Glossary -v -SSLv3

问题我无法工作,如何纳入RTFMs后,我的getURL()函数的参数-SSLv3

要求解决方案修改本声明利用的SSLv3

a<-getURL("https://example.sharepoint.com/_vti_bin/listdata.svc/Glossary")
r curl ssl rcurl
1个回答
0
投票

对于我这种工作原理:

a<-getURL("https://example.sharepoint.com/_vti_bin/listdata.svc/Glossary", ssl.verifypeer=TRUE, sslversion=4L) 
© www.soinside.com 2019 - 2024. All rights reserved.