setCredentials {bigml}R Documentation

Set BigML API authentication credentials

Description

Set BigML API authentication credentials

Usage

setCredentials(username, api_key)

Arguments

username

use the given username for all subsequent API requests

api_key

use the given api key for all subsequent API requests

Details

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.

Author(s)

Leon Hwang hwang@bigml.com

Examples

## Not run: 
# replace with your valid credentials:
	setCredentials('some_username', 'some_key')

## End(Not run)

[Package bigml version 0.1.2 Index]