Learn R Programming

yhatr (version 0.15.1)

yhat.batchDeploy: Deploy a batch model to Yhat servers

Description

This function will deploy your batch model to the yhat servers

Usage

yhat.batchDeploy(job_name, confirm = TRUE)

Arguments

job_name
name of batch job
confirm
boolean indicating whether to prompt before deploying

Examples

Run this code
yhat.config <- c(
 username = "your username",
 apikey = "your apikey",
 env = "http://sandbox.yhathq.com/"
)
yhat.batch <- function() {
  name <- "ross"
  greeting <- paste("Hello", name)
  print(greeting)
}
## Not run: ------------------------------------
# yhat.batchDeploy("helloworld")
## ---------------------------------------------

Run the code above in your browser using DataLab