Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rga not working under R Sweave #94

Open
HanWang-HiWorld opened this issue Mar 28, 2018 · 1 comment
Open

rga not working under R Sweave #94

HanWang-HiWorld opened this issue Mar 28, 2018 · 1 comment

Comments

@HanWang-HiWorld
Copy link

I am working on generating report with R Sweave. When I try to fetch data from google reporting api rga.open(instance="ga"), error occurs (chunk 1) object 'redirect.uri' not found. I have been using rga under R and base RStudio environment with no problems. Does anyone know how to solve this issue under R Sweave environment?

@jdeboer
Copy link

jdeboer commented Jun 30, 2018

I'm wondering if this issue may be related to the OAuth handshake when obtaining an authorisation token? Usually the handshake is performed in a way that requires an interactive R session and involvement of the user. However, there may be a way to perform the handshake non-interactively, perhaps using a Google APIs Service Account. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants