简体   繁体   English

使用R googlesheets超时对用户进行身份验证

[英]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.

相关问题 无法验证R Studio的googlesheets软件包 - Unable to authenticate googlesheets package for R studio 使用R中的googlesheets覆盖工作表 - Overwrite worksheet using googlesheets in R 使用 R 中的 googlesheets4 将大数据写入 Google 表格时如何捕获超时错误并重试 - How to catch timeout error and retry when writing large data to Google Sheets using googlesheets4 in R 有没有办法在 R Shiny 应用程序加载时自动验证对 GoogleSheets 的访问? Googlesheets4 身份验证问题 - Is there a way to auto-authenticate access to GoogleSheets upon R Shiny App load? Googlesheets4 authentication trouble 如何使用 R 删除我的 googlesheets 行 - How to delete rows of my googlesheets using R R - 使用googlesheets包指定目录 - R - Specify the directory using the package googlesheets 即使启用了不太安全的应用程序,我们也无法对 R 的 googlesheets 库进行身份验证 - Even with Less Secure Apps ON, we cannot authenticate to R's googlesheets library 使用 googlesheets4 在 R 中使用访问令牌访问电子表格 - Accessing the spreadsheet using access token in R using googlesheets4 通过 R 中的 shiny 使用 googlesheets4 连接到 googlesheets - Connect to googlesheets via shiny in R with googlesheets4 googlesheets R 身份验证错误 - googlesheets R authentication error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM