Get url from OpenCPU response
Usage
get_url(
resp,
name = c("return", "location", "session", "console", "stdout", "svg", "svglite",
"messages", "warnings", "json", "rda"),
...
)
get_url_svg(resp, pad = "?width=7&height=7", ...)Arguments
- resp
An object of class
httr::response()returned by OpenCPU.- name
A string:
"return","location","session","console","stdout","svg","svglite","messages","warnings","json","rda". The default is"return".- ...
Additional string that is concatenate to the URL
- pad
A string to be padded to the url.