Learn R Programming

rtweet (version 2.0.0)

client_has_default: Set up default client

Description

You'll need to run this function once per computer so that rtweet can use your client.

Usage

client_has_default()

client_setup_default()

Arguments

Value

client_setup_default(): Invisibly returns the previous authentication mechanism. client_has_default(): A logical value TRUE if there is a default authentication.

Details

It will use the current default account for rtweet and save them as "rtweet". If a default is found it will use it instead.

See Also

Other client: client_as(), client_get(), client_save()

Examples

Run this code
if (FALSE) {
if (!client_has_default()) {
   client_setup_default()
}
}

Run the code above in your browser using DataLab