1
我試圖通過cron作業運行一些Rscript。 我正在使用RGA包。 我在終端得到的錯誤是:BASH中的錯誤:oauth_listener()需要一個交互式環境
Access token will be stored in the './ga-token.rds' file.
Error: oauth_listener() needs an interactive environment.Execution halted
我的代碼是:
library(RGA)
authorize(client.id = ".......", client.secret = ".......", cache = "./ga-token.rds")