This library provides a Racket kernel for Jupyter, enabling interactive notebook-style programming with Racket.
After installing the iracket package, you must register the IRacket kernel with Jupyter. Kernel registration can be done either through the raco iracket install command or by using the iracket/install module.
If the jupyter command is not in your executable search path, you must tell the installer the absolute path to the jupyter executable using the --jupyter-exe flag or #:jupyter-exe keyword argument. The installer runs jupyter --data-dir to find the directory where it should install the IRacket kernel.
If the racket command is not in your executable search path, or if you
want to register a kernel that uses a specific version of Racket, then you must
tell the installer the path to the executable to use. The executable must
support the same command-line interface that the racket executable
supports, but it does not have to be named racket—
Note that if you register the kernel with a non-version-specific Racket command (the default) and then change that command to run a different version of Racket (for example, by changing your PATH or by installing a new version of Racket over the old one), then Jupyter will try to use the new version of Racket to run the IRacket kernel. If the iracket package is not installed in the new version, this typically results in an error like “collection not found for module path: (lib "iracket/iracket")”. The same error will occur if you try to run the kernel after removing the iracket package.
Changed in version 1.1: Added raco iracket command.
|(require iracket/install)||package: iracket|
(install-iracket! [ #:jupyter-exe jupyter-exe #:racket-exe racket-exe]) → void?
jupyter-exe : (or/c (and/c path-string? complete-path?) #f) = #f racket-exe : (or/c path-string? 'auto 'this-version) = #f
Added in version 1.1 of package iracket.