简体   繁体   中英

authenticate user using R googlesheets timeout

I want to authenticate a user using 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

I want to change the timeout to 400000 milliseconds, does anyone have one idea?

I didn't find the solution for this qustion I make the project in Python Using

    import gspread
    from oauth2client.service_account import ServiceAccountCredentials

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM