I am using R and the bigrquery package to access Bigquery from an R session. This works fine while I am on my local machine. However, when I try to access Bigquery from R on a remote server, it does not work at all.
I tried to copy the .httr-oauth file to my home directory on the server, but this will not work. I get an error message:
Auto-renew obsolete OAuth token. Error in refresh_oauth2.0 (self $ endpoint, self $ app, self $ credentials): client error: (400) Invalid request
I really have no idea where to store the necessary credentials, and, unfortunately, I could not find anything useful in this matter using google-search for the topic.
malte source share