Skip to content

Instantly share code, notes, and snippets.

@alexland
Created September 17, 2018 14:32
Show Gist options
  • Save alexland/f3b004b4336be939614f7c12ceadb76b to your computer and use it in GitHub Desktop.
Save alexland/f3b004b4336be939614f7c12ceadb76b to your computer and use it in GitHub Desktop.
installing & using R Kernel for Jupyter Notebook
# 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