Skip to content

Instantly share code, notes, and snippets.

@mjfrigaard
Created December 15, 2019 17:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mjfrigaard/c16d1950d3567983536b4536706845a2 to your computer and use it in GitHub Desktop.
Packages for installing R in jupyter notebooks
#=====================================================================#
# This is code to create: jupyter-install-pkgs.R
# Authored by and feedback to: @mjfrigaard
# MIT License
# Version: 1.0
#=====================================================================#
# packages ----------------------------------------------------------------
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),
repos = c('http://irkernel.github.io/',
getOption('repos')),
type = 'source')
IRkernel::installspec(user = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment