R/credentials.R

Defines functions credentials

Documented in credentials

credentials <- function(keypair=NULL){
    message("credentials() is being deprecated!\nInstead, specify AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.")
    if (!is.null(keypair)) {
        options(MTurkR.keypair = keypair)
    } else {
        return(getOption('MTurkR.keypair'))    
    }
}

Try the MTurkR package in your browser

Any scripts or data that you put into this service are public.

MTurkR documentation built on May 29, 2017, 11:09 p.m.