R.NET and Twitter Searches

Jan 31, 2015 at 1:29 PM
Hi guys,
I have a script which execute a Twitter Search, and it is working just fine, when running in console.

When running in a console, I get the following message:

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

Where I can select an option and continue making searches.

Now: When I migrated this to a class library, it stopped working. The reason is that it will still ask me this question, but I cannot type any answer in that case.

The question is: Is there a way to bypass that using R.NET? Of course this might not be related to this library directly, but perhaps you have an idea about how to do it.