[英]authenticate user using R googlesheets timeout
I want to authenticate a user using R googlesheet
. 我想使用R
googlesheet
对用户进行身份验证。 I tried using: 我尝试使用:
library(magrittr)
library(googlesheets)
suppressMessages(gs_auth(token = "...\\Documents\\googlesheets_token.rds", verbose = FALSE))
but I obtain the next message: 但我得到下一条消息:
Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: Resolving timed out after 10000 milliseconds
curl :: curl_fetch_memory(url,handle = handle)中的错误:已达到超时:10000毫秒后解析超时
I want to change the timeout to 400000 milliseconds, does anyone have one idea? 我想将超时更改为400000毫秒,有人知道吗?
I didn't find the solution for this qustion I make the project in Python Using 我没有找到解决此问题的方法,而是使用Python创建了项目。
import gspread
from oauth2client.service_account import ServiceAccountCredentials
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.