Re: [ESS] TWITTER API environment variables

2020-04-09 Thread Patrick Connolly via ESS-help
G'day Ista, Thanks for setting me straight on that. I was misled by the fact that my username on this machine is pat. Something led me to believe that the twitter environment would be TWITTER_WORK but I don't have remote access to check (and be disabused of that notion). In any case, the

Re: [ESS] TWITTER API environment variables

2020-04-09 Thread Dirk Eddelbuettel via ESS-help
On 9 April 2020 at 10:32, Ista Zahn via ESS-help wrote: | Are you sure you've diagnosed the issue correctly? From what I can see | the name of the environment variable is always TWITTER_PAT, at least | in the current rtweet release (0.7.0). get_tokens calls twitter_pat |

Re: [ESS] TWITTER API environment variables

2020-04-09 Thread Ista Zahn via ESS-help
Hi Patrick, Are you sure you've diagnosed the issue correctly? From what I can see the name of the environment variable is always TWITTER_PAT, at least in the current rtweet release (0.7.0). get_tokens calls twitter_pat (https://github.com/ropensci/rtweet/blob/v0.7.0/R/tokens.R#L120) and

[ESS] TWITTER API environment variables

2020-04-08 Thread Patrick Connolly via ESS-help
I'm using the rtweet package which makes use of the Twitter API which requires a token alluded to by an environment variable. That environment variable is automatically set up from the Twitter web site and takes the name TWITTER_ (where is the name of the user in block letters). That worked