我試着在R於窗口下面的代碼:使用Rcurl以https
library(RCurl)
postForm("https://www.google.com/accounts/ClientLogin/",
"email" = "[email protected]",
"Passwd" = "abcd",
"service" = "finance",
"source" = "Test-1"
)
但去以下錯誤:
Error in postForm()
SL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
如何設置RCurl允許使用HTTPS的?
更多的猜測不是一個答案,但確實'curlVersion()$ protocol'包括「HTTPS」?如果沒有,那麼你需要安裝一個帶有ssl支持的curl庫版本。如何做到這一點取決於你的操作系統('sessionInfo()'的輸出可能會有幫助) –