Learn R Programming

clarifai (version 0.4.2)

secret_id: Sets Application ID and Secret

Description

Set Client ID and Secret. Needed for interfacing with Clarifai. Run this before anything else.

Usage

secret_id(appdetails = NULL, force = FALSE)

Arguments

appdetails
A vector of client_id, client_secret. Get these from https://developer.clarifai.com/. Set them before you use other functions.
force
force reset client id and secret

Details

The function looks for ClarifaiId and ClarifaiSecret in the environment. If it doesn't find them and if we don't want to force change in them, it looks for arguments. And if no arguments are passed, it asks for user to input the values.

References

https://developer.clarifai.com/

Examples

Run this code
## Not run: ------------------------------------
# setapp(c("client_id", "client_secret"))
## ---------------------------------------------

Run the code above in your browser using DataLab