Debian Codegraph @

R/help.r

raw symbols SCIP
1 #' An R kernel for Jupyter.
2 #'
3 #' Jupyter speaks a JSON+ZMQ protocol to a 'kernel' which is responsible for executing code.
4 #' This package is a kernel for the R language.
5 #'
6 #' @section Options:
7 #'
8 #' The following can be set/read via \code{options(opt.name = ...)} / \code{getOption('opt.name')}
9 #'
10 #' \describe{
11 #' \item{\code{jupyter.log_level}}{1L (errors), 2L (warnings), or 3L (debug). 1L is the default.}
12 #' \item{\code{jupyter.pager_classes}}{Classes to use the pager for instead of displaying them inline. Default: help pages}
13 #' \item{\code{jupyter.in_kernel}}{\code{TRUE} if this code is executed in a running kernel. Set to pretend being/not being in a kernel}
14 #' \item{\code{jupyter.rich_display}}{Use more than just text display}
15 #' \item{\code{jupyter.display_mimetypes}}{
16 #' The formats emitted when any return value is to be displayed
17 #' (default: all mimetypes listed \href{http://ipython.org/ipython-doc/stable/api/generated/IPython.core.formatters.html#IPython.core.formatters.format_display_data}{here})
18 #' }
19 #' \item{\code{jupyter.plot_mimetypes}}{
20 #' The plot formats emitted to the frontend when a plot is displayed.
21 #' (default: image/png and application/pdf)
22 #' }
23 #' \item{\code{jupyter.plot_scale}}{
24 #' The ratio (notebook PPI / \code{repr.plot.res}).
25 #' E.g.: With the defaults \code{repr.plot.res}=120 px/in (PPI) and \code{jupyter.plot_scale}=2,
26 #' a 1in\eqn{\times}1in image will be displayed as a 0.5in\eqn{\times}0.5in, 240 PPI image.
27 #' (default: 2, fit for retina displays)
28 #' }
29 #' }
30 #'
31 #' @export main
32 #'
33 #' @import methods
34 #' @import uuid
35 #' @import digest
36 #' @importFrom pbdZMQ zmq.ctx.new zmq.socket zmq.bind zmq.getsockopt zmq.setsockopt
37 #' @importFrom pbdZMQ zmq.send zmq.recv zmq.msg.send zmq.msg.recv zmq.send.multipart zmq.recv.multipart
38 #' @importFrom pbdZMQ zmq.poll zmq.poll.get.revents ZMQ.MC ZMQ.PO ZMQ.ST ZMQ.SO
39 #' @importFrom evaluate evaluate new_output_handler parse_all
40 #' @importFrom jsonlite fromJSON toJSON
41 #' @importFrom IRdisplay publish_mimebundle prepare_mimebundle
42 #' @importFrom repr mime2repr repr_option_defaults
43 #'
44 #' @docType package
45 #' @seealso \link{installspec}
46 #' @name IRkernel-package
47 #' @aliases IRkernel IRkernel-package IRkernel-options
48 NULL