setCredentials {bigml} | R Documentation |
Set BigML API authentication credentials
setCredentials(username, api_key)
username |
use the given username for all subsequent API requests |
api_key |
use the given api key for all subsequent API requests |
This function sets default username and api_key information for subsequent BigML API access calls. The relevent username and key are stored in the R system environment variables. So, it's also possible to set these variables by setting BIGMLUSER and BIGMLAPIKEY in an .Renviron file.
Leon Hwang hwang@bigml.com
## Not run: # replace with your valid credentials: setCredentials('some_username', 'some_key') ## End(Not run)