Jupyter NotebooksThe Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text. KernelsVarious Kernels are available to use through this OOD Application including Python, R, and Bash. Additionally, you have the ability to create your own python kernels to control python version and provide access to your own custom environments. You can also create kernels to enable access to other software applications. For example, if you want to add a kernel for Julia, you can log into an interactive terminal session and use the Julia module to add IJulia. When you log into your next Jupyter session, you should see the kernel in the "new" dropdown menu: Section |
---|
Column |
---|
|
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| $ module load julia
$ julia
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.1 (2021-04-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Pkg
julia> Pkg.add("IJulia") |
|
Column |
---|
| 
|
|
Default DirectoryWhen you start a Jupyter notebook, by default your working directory will be your home. If you would like to change this so that your session starts in a different location, you'll need to add a line to the hidden file ~/.bashrc in your home. To do this, open your ~/.bashrc in a text editor and add the following, substituting your desired path in for /path/to/directory: Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
| export NOTEBOOK_ROOT=/path/to/directory |
|