Learn R Programming

rzeit2 (version 0.2.3)

set_api_key: Set api key to the .Renviron

Description

Function to set you API Key to the R environment when starting using rzeit package. Attention: You should only execute this functions once.

Usage

set_api_key(api_key, path = stop("Please specify a path."))

Arguments

api_key

character. The personal api code. To request an API key see: http://developer.zeit.de/quickstart/

path

character. Path where the environment is stored. Default is the normalized path.

Value

None.

Examples

Run this code
# NOT RUN {
# this is not an actual api key
api_key <- "5t5yno5qqkufxis5q2vzx26vxq2hqej9"
set_api_key(api_key, tempdir())
# }

Run the code above in your browser using DataLab