Skip to content

Instantly share code, notes, and snippets.

@steveharoz
Last active January 2, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveharoz/8345512 to your computer and use it in GitHub Desktop.
Save steveharoz/8345512 to your computer and use it in GitHub Desktop.
R Setup - run after a new install of R
install.packages('Cairo')
install.packages('data.table')
install.packages('extrafont')
install.packages('ggplot2')
install.packages('lubridate')
install.packages('plyr')
install.packages('dplyr')
install.packages('rjson')
install.packages('stringr')
install.packages('XML')
#font_import(pattern="[S/s]egoeui", prompt = FALSE)
#font_import(pattern="[S/s]egoe", prompt = FALSE)
library(extrafont)
font_import()
loadfonts(device="win") # run for each new session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment