R/environment_runtime.r

Defines functions comm_manager

Documented in comm_manager

# This file contains an environment to store runtime variables independent from the kernel

runtime_env <- new.env()

#' Get global CommManager instance
#'
#' @return \link{CommManager} instance if a kernel is running, else NULL
#' @export
comm_manager <- function() runtime_env$comm_manager

Try the IRkernel package in your browser

Any scripts or data that you put into this service are public.

IRkernel documentation built on Jan. 22, 2023, 1:13 a.m.