algo_options: Set options for an algorithm call

Description Usage Arguments References Examples

View source: R/algo.r

Description

Set options for an algorithm call

Usage

1
algo_options(algo_obj, timeout = 300, stdout = FALSE, output = NULL)

Arguments

algo_obj

an algorithmia object

timeout

Specifies a timeout for the call in seconds. default=300 (5min), max=3000 (50min)

stdout

Indicates algorithm stdout should be returned in the response metadata (ignored unless you are the algorithm owner)

output

if not NULL then one of "raw" to return the result of the algorithm call without the JSON-RPC wrapper or "void" which returns immediately and does not wait for the algorithm to run

References

http://docs.algorithmia.com/

Examples

1
2
3
4
5
library(magrittr)
algo_client() %>%
  algo_call("demo", "Hello", "0.1.1") %>%
  algo_options(30) %>%
  algo_pipe("there", "text")

hrbrmstr/algorithmia documentation built on May 17, 2019, 4:55 p.m.