Package IRkernel. January 7, 2019

Similar documents
Package messaging. May 27, 2018

Package datasets.load

Package crossword.r. January 19, 2018

Package JuniperKernel

Package spark. July 21, 2017

Package goodpractice

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package IATScore. January 10, 2018

Package available. November 17, 2017

Package rtext. January 23, 2019

Package tensorflow. January 17, 2018

Package gtrendsr. October 19, 2017

Package repec. August 31, 2018

Package cloudml. June 12, 2018

Package fastdummies. January 8, 2018

Package gtrendsr. August 4, 2018

Package validara. October 19, 2017

Package farver. November 20, 2018

Package shinyhelper. June 21, 2018

Package WordR. September 7, 2017

Package semver. January 6, 2017

Package calpassapi. August 25, 2018

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package plumber. December 2, 2017

Package knitrprogressbar

Package SEMrushR. November 3, 2018

Package dkanr. July 12, 2018

Package tidyselect. October 11, 2018

Package aws.transcribe

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package tidyimpute. March 5, 2018

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package hyphenatr. August 29, 2016

Package projector. February 27, 2018

Package oec. R topics documented: May 11, Type Package

Package ECctmc. May 1, 2018

Package rdryad. June 18, 2018

Package kirby21.base

Package dbx. July 5, 2018

Package wdman. January 23, 2017

Package testit. R topics documented: June 14, 2018

Package rzeit2. January 7, 2019

Package shinyfeedback

Package gridgraphics

Package routr. October 26, 2017

Package githubinstall

Package comparedf. February 11, 2019

Package readobj. November 2, 2017

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package shinytest. May 7, 2018

Package ssh. June 4, 2018

Package d3plus. September 25, 2017

Package ether. September 22, 2018

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package loggit. April 9, 2018

Package liftr. R topics documented: May 14, Type Package

Package pkgbuild. October 16, 2018

Package autoshiny. June 25, 2018

Package vdiffr. April 27, 2018

Package fst. December 18, 2017

Package modules. July 22, 2017

Package kdtools. April 26, 2018

Package docxtools. July 6, 2018

Package dotcall64. January 11, 2018

Package RPresto. July 13, 2017

Package sessioninfo. June 21, 2017

Package catchr. R topics documented: December 30, Type Package. Title Catch, Collect, and Raise Conditions. Version 0.1.0

Package labelvector. July 28, 2018

Package regexselect. R topics documented: September 22, Version Date Title Regular Expressions in 'shiny' Select Lists

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package tiler. June 9, 2018

Package rngtools. May 15, 2018

Package robotstxt. November 12, 2017

Package shiny.router

Package facerec. May 14, 2018

Package bisect. April 16, 2018

Package spelling. December 18, 2017

Package filelock. R topics documented: February 7, 2018

Package ecoseries. R topics documented: September 27, 2017

Package fastrtext. December 10, 2017

Package AhoCorasickTrie

Package radix. September 17, 2018

Package fst. June 7, 2018

Package slickr. March 6, 2018

Package rgdax. January 7, 2019

Package fitbitscraper

Package canvasxpress

Package fastqcr. April 11, 2017

Package sigqc. June 13, 2018

Package cli. November 5, 2017

Package autocogs. September 22, Title Automatic Cognostic Summaries Version 0.1.1

Package coga. May 8, 2018

Package lxb. R topics documented: August 29, 2016

Package guardianapi. February 3, 2019

Package rcmdcheck. R topics documented: November 10, 2018

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package redux. May 31, 2018

Package styler. December 11, Title Non-Invasive Pretty Printing of R Code Version 1.0.0

Package clipr. June 23, 2018

Package essurvey. August 23, 2018

Transcription:

Title Native R Kernel for the 'Jupyter Notebook' Package IRkernel January 7, 2019 The R kernel for the 'Jupyter' environment executes R code which the front-end ('Jupyter Notebook' or other front-ends) submits to the kernel via the network. Version 0.8.15 Depends R (>= 3.2.0) Suggests testthat, roxygen2 SystemRequirements jupyter, jupyter_kernel_test (Python package for testing) License MIT + file LICENSE LazyData true Encoding UTF-8 Imports repr (>= 0.4.99), methods, evaluate (>= 0.10), IRdisplay (>= 0.3.0.9999), pbdzmq (>= 0.2-1), crayon, jsonlite (>= 0.9.6), uuid, digest Collate 'class_unions.r' 'logging.r' 'comm_manager.r' 'compat.r' 'environment_runtime.r' 'environment_shadow.r' 'options.r' 'execution.r' 'handlers.r' 'help.r' 'installspec.r' 'utils.r' 'kernel.r' 'main.r' 'onload.r' RoxygenNote 6.1.1 NeedsCompilation no Author Thomas Kluyver [aut, cph], Philipp Angerer [aut, cph, cre] (<https://orcid.org/0000-0002-0369-2888>), Jan Schulz [aut, cph], Karthik Ram [aut, cph] Maintainer Philipp Angerer <phil.angerer@gmail.com> Repository CRAN Date/Publication 2019-01-07 14:50:11 UTC 1

2 comm_manager R topics documented: Comm-class......................................... 2 CommManager-class.................................... 2 comm_manager....................................... 2 installspec.......................................... 3 IRkernel........................................... 3 log_*............................................ 4 main............................................. 5 Index 6 Comm-class The Comm Has methods able to register and handle message callbacks CommManager-class The CommManager Has methods able to register comms/targets and process comm messages comm_manager Get global CommManager instance Get global CommManager instance comm_manager() Value CommManager instance if a kernel is running, else NULL

installspec 3 installspec Install the kernelspec to tell Jupyter about IRkernel. This can be called multiple times for different R interpreter, but you have to give a different name (and displayname to see a difference in the notebook UI). If the same name is give, it will overwrite older versions of the kernel spec with that name! installspec(user = NULL, name = "ir", displayname = "R", rprofile = NULL, prefix = NULL) Arguments user name displayname rprofile prefix Install into user directory ($XDG_DATA_HOME/jupyter/kernels) or globally? (default: NULL but treated as TRUE if "prefix" is not specified) The name of the kernel (default "ir") The name which is displayed in the notebook (default: "R") (optional) Path to kernel-specific Rprofile (defaults to system-level settings) (optional) Path to alternate directory to install kernelspec into (default: NULL) Value Exit code of the jupyter kernelspec install call. IRkernel An R kernel for Jupyter. Jupyter speaks a JSON+ZMQ protocol to a kernel which is responsible for executing code. This package is a kernel for the R language. jupyter_option_defaults Format An object of class list of length 6.

4 log_* Options The following can be set/read via options(opt.name =...) / getoption('opt.name') jupyter.log_level 1L (errors), 2L (warnings), or 3L (debug). 1L is the default. jupyter.pager_classes Classes to use the pager for instead of displaying them inline. Default: help pages jupyter.in_kernel TRUE if this code is executed in a running kernel. Set to pretend being/not being in a kernel jupyter.rich_display Use more than just text display jupyter.display_mimetypes The formats emitted when any return value is to be displayed (default: all mimetypes listed here) jupyter.plot_mimetypes The plot formats emitted to the frontend when a plot is displayed. (default: image/png, application/pdf, and image/svg+xml) See Also installspec log_* Kernel logging functions A set of exported logging utilities that have the capability to be used in upstream projects. Log level and log file can be set via R package options e.g. options(jupyter.log_level = 2L) or from the environment variables JUPYTER_LOG_LEVEL and JUPYTER_LOGFILE. log_debug(...) log_info(...) log_error(...) Arguments... message to log

main 5 main Initialise and run the kernel Initialise and run the kernel main(connection_file = "") Arguments connection_file The path to the Jupyter connection file, written by the frontend

Index Topic datasets IRkernel, 3 Comm (Comm-class), 2 Comm-class, 2 comm_manager, 2 CommManager, 2 CommManager (CommManager-class), 2 CommManager-class, 2 installspec, 3, 4 IRkernel, 3 IRkernel-options (IRkernel), 3 IRkernel-package (IRkernel), 3 jupyter_option_defaults (IRkernel), 3 log_*, 4 log_debug (log_*), 4 log_error (log_*), 4 log_info (log_*), 4 main, 5 6