I am having great difficulties trying to get R set up to pull in Google Analytics information. I have created the project in Google, credentials, enabled them, etc. etc. No problems from that end (at least I don't think so), but I cannot get anything to work within R. I've read that using R Server requires one to get past the "normal" authentication methods. I found this article located here:
that addresses this (the example in this article using google sheets instead). I decided to use this code (as contained in the article):
options(httr_oob_default=TRUE)
gs_auth(new_user = TRUE)
gs_ls()
but when R runs gs_auth(new_user = TRUE)
I get the following error:
Error in gs_auth(new_user = TRUE) : could not find function "gs_auth"
Any thoughts on this? I have not been able to figure this despite repeated attempts and research. Thank you!
Greg