Learn R Programming

opencastR (version 0.1.3)

print.oc_agent: Print result of oc_agent()

Description

Print a structured return of the oc_agent() function.

Usage

# S3 method for oc_agent
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_agent() function.

See Also

oc_agent

Examples

Run this code
# NOT RUN {
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

agents <- oc_list_agents()

resp <- oc_agent(agents$content$agent_id)

resp
# }

Run the code above in your browser using DataLab