JuniperKernel (version 1.4.1.0)

execute_request: Execute Handler

Description

Handler for the execute_request Message Type

Usage

execute_request(request_msg)

Arguments

request_msg

A list passed in from doRequest representing the deserialized execute_request message JSON.

Value

A list having names msg_type and content. The msg_type is execute_reply, which corresponds to the execute_request message. The content field complies with the Jupyter wire message protocol specification for execute_reply messages.

References

http://jupyter-client.readthedocs.io/en/latest/messaging.html#execution-results

Examples

Run this code
# NOT RUN {
  request_msg <- list("code"="5+5")
  execute_request(request_msg)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab