Skip to content

Instantly share code, notes, and snippets.

@duyleekun
Created April 8, 2022 10:20
Show Gist options
  • Save duyleekun/56194c7195afa7bbbb0c238b274c788f to your computer and use it in GitHub Desktop.
Save duyleekun/56194c7195afa7bbbb0c238b274c788f to your computer and use it in GitHub Desktop.
VSCODE

Install R

brew install R [email protected] libgit2

Inside R console run

Sys.setenv(PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig")
install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
install.packages('IRkernel')
IRkernel::installspec()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment