All Projects → IRkernel → Irkernel

IRkernel / Irkernel

Licence: other
R kernel for Jupyter

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Irkernel

Almond
A Scala kernel for Jupyter
Stars: ✭ 1,354 (-1.81%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Juniperkernel
R Kernel for Jupyter
Stars: ✭ 67 (-95.14%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (-87.53%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (-85.5%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Icsharp
C# kernel for Jupyter
Stars: ✭ 263 (-80.93%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Lfortran
Official mirror of https://gitlab.com/lfortran/lfortran. Please submit pull requests (PR) there. Any PR sent here will be closed automatically.
Stars: ✭ 220 (-84.05%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Ocaml Jupyter
An OCaml kernel for Jupyter (IPython) notebook
Stars: ✭ 177 (-87.16%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Ielixir
Jupyter's kernel for Elixir programming language
Stars: ✭ 312 (-77.37%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Enterprise gateway
A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
Stars: ✭ 412 (-70.12%)
Mutual labels:  jupyter-notebook, jupyter, jupyter-kernels
Ppd599
USC urban data science course series with Python and Jupyter
Stars: ✭ 1,062 (-22.99%)
Mutual labels:  jupyter-notebook, jupyter
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-96.08%)
Mutual labels:  jupyter-notebook, jupyter
Jupyter Themes
Custom Jupyter Notebook Themes
Stars: ✭ 8,879 (+543.87%)
Mutual labels:  jupyter-notebook, jupyter
Ncar Python Tutorial
Numerical & Scientific Computing with Python Tutorial
Stars: ✭ 50 (-96.37%)
Mutual labels:  jupyter-notebook, jupyter
Nbgrader
A system for assigning and grading notebooks
Stars: ✭ 1,000 (-27.48%)
Mutual labels:  jupyter-notebook, jupyter
Ipybind
IPython / Jupyter integration for pybind11
Stars: ✭ 63 (-95.43%)
Mutual labels:  jupyter-notebook, jupyter
Computer Vision
Computer vision sabbatical study materials
Stars: ✭ 39 (-97.17%)
Mutual labels:  jupyter-notebook, jupyter
Dashboards
[RETIRED] See Voilà as a supported replacement
Stars: ✭ 986 (-28.5%)
Mutual labels:  jupyter-notebook, jupyter
Algorithm Playground
An (old) and unstructured (messy tbh) collection of programming exercises.
Stars: ✭ 75 (-94.56%)
Mutual labels:  jupyter-notebook, jupyter
Covid19 Dashboard
A site that displays up to date COVID-19 stats, powered by fastpages.
Stars: ✭ 1,212 (-12.11%)
Mutual labels:  jupyter-notebook, jupyter
Nbconflux
nbconflux converts Jupyter Notebooks to Atlassian Confluence pages
Stars: ✭ 82 (-94.05%)
Mutual labels:  jupyter-notebook, jupyter

Native R kernel for Jupyter b-Travis b-CRAN

For detailed requirements and install instructions see irkernel.github.io

Requirements

Installation

This package is available on CRAN:

install.packages('IRkernel')
IRkernel::installspec()  # to register the kernel in the current R installation
jupyter labextension install @techrah/text-shortcuts  # for RStudio’s shortcuts

Per default IRkernel::installspec() will install a kernel with the name “ir” and a display name of “R”. Multiple calls will overwrite the kernel with a kernel spec pointing to the last R interpreter you called that commands from. You can install kernels for multiple versions of R by supplying a name and displayname argument to the installspec() call (You still need to install these packages in all interpreters you want to run as a jupyter kernel!):

# in R 3.3
IRkernel::installspec(name = 'ir33', displayname = 'R 3.3')
# in R 3.2
IRkernel::installspec(name = 'ir32', displayname = 'R 3.2')

By default, it installs the kernel per-user. To install system-wide, use user = FALSE. To install in the sys.prefix of the currently detected jupyter command line utility, use sys_prefix = TRUE.

Now both R versions are available as an R kernel in the notebook.

If you encounter problems during installation

  1. Have a look at the full installation instructions!
  2. Search the existing open and closed issues.
  3. If you are sure that this is a new problem, file an issue.

Running the notebook

If you have Jupyter installed, you can create a notebook using IRkernel from the dropdown menu.

You can also start other interfaces with an R kernel:

# “ir” is the kernel name installed by the above `IRkernel::installspec()`
# change if you used a different name!
jupyter qtconsole --kernel=ir
jupyter console --kernel=ir

Run a stable release in a Docker container

Refer to the jupyter/docker-stacks r-notebook repository

If you have a Docker daemon running, e.g. reachable on localhost, start a container with:

docker run -d -p 8888:8888 jupyter/r-notebook

Open localhost:8888 in your browser. All notebooks from your session will be saved in the current directory.

On other platforms without docker, this can be started using docker-machine by replacing “localhost” with an IP from docker-machine ip <MACHINE>. With the deprecated boot2docker, this IP will be boot2docker ip.

Develop and run from source in a Docker container

make docker_dev_image #builds dev image and installs IRkernel dependencies from github
make docker_dev #mounts source, installs, and runs Jupyter notebook; docker_dev_image is a prerequisite
make docker_test #builds the package from source then runs the tests via R CMD check; docker_dev_image is a prerequisite

How does it know where to install?

The IRKernel does not have any Python dependencies whatsoever, and does not know anything about any other Jupyter/Python installations you may have. It only requires the jupyter command to be available on $PATH. To install the kernel, it prepares a kernelspec directory (containing kernel.json and so on), and passes it to the command line jupyter kernelspec install [options] prepared_kernel_dir/, where options such as --name, --user, --prefix, and --sys-prefix are given based on the options.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].