automatically answer a selection in R

115 Views Asked by At

I'm using the twitteR package in R. When it's authenticating, it asks:

[1] "Using direct authentication"
Use a local file to cache OAuth access credentials between R sessions?
1: Yes
2: No

Is there a way to automatically set this to No? It'll be on a webserver so the user won't have the option to set this.

This is called by:

setup_twitter_oauth(consumer_key = "<redacted>", consumer_secret = "<redacted>", 
                    access_token="<redacted>", access_secret="<redacted>")
0

There are 0 best solutions below