我申请googleAnalyticsR
来使用Google-API。我创建了一个要登录的项目:
library(googleAnalyticsR)
library(googleAuthR)
ga_auth(email="username@gmail.com")
通过浏览器登录后,我在浏览器中收到以下消息
Authentication complete. Please close this page and return to R.
但是,在Rstudio中,出现以下错误:
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Eror: Could not authenticate via any gargle cred function
问题可能出在防火墙上吗?如果为true,则应激活哪个地址才能使身份验证生效? https://www.googleapis.com/auth/analytics
?