Learn R Programming

bigml (version 0.1.2)

setCredentials: 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.

Examples

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

Run the code above in your browser using DataLab