JuniperKernel (version 1.4.1.0)

inspect_request: Inspect Handler

Description

Handler for the inspect_request Message Type

Usage

inspect_request(request_msg)

Arguments

request_msg

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

Value

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

References

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

Examples

Run this code
# NOT RUN {
  request_msg <- list(code="print(99+rnorm(1))", cursor_pos=11, detail_level=0)
  inspect_request(request_msg)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab