Created
September 17, 2018 14:32
-
-
Save alexland/f3b004b4336be939614f7c12ceadb76b to your computer and use it in GitHub Desktop.
installing & using R Kernel for Jupyter Notebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# at the R REPL prompt | |
devtools::install_github('IRkernel/repr') | |
devtools::install_github("IRkernel/IRdisplay") | |
devtools::install_github("IRkernel/IRKernel") | |
require(IRdisplay) | |
require(IRkernel) | |
installspec() | |
# optional install very nice Jupyter notebook themes | |
# the next three lines in a unix shell, bash, zsh, etc | |
# %> sudo python3 -m pip install jupyterthemes | |
# choose a theme & modify cell width | |
# %> jt -t chesterish -cellw 90% | |
# i prefer (for security reasons) to start jupyter notebook w/ the 'no browser' flag, like so: | |
# %> jupyter notebook --no-browser | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment