Standard Header

Boilerplate for all of my notebooks.

There are two: one for Colaboratory and one for local Jupyter notebooks.

Colaboratory

install.packages(c("farver","nycflights13"))
library(tidyverse)

options(repr.plot.width=10, repr.plot.height=6)
theme_update(text = element_text(size=20))

Jupyter Notebook

Linux

library(tidyverse)
options(repr.plot.width=10, repr.plot.height=6)
switch(Sys.info()[['sysname']],
       'Linux' = theme_update(text=element_text(size=16, family="Arial")))

Mac

[update]
Last modified August 18, 2023: 2022-2023 End State (7352e87)