Skip to content

Instantly share code, notes, and snippets.

View stufield's full-sized avatar
:octocat:

Stu Field stufield

:octocat:
View GitHub Profile
@stufield
stufield / fira_symbol_bindings.R
Created January 23, 2019 14:33
Cool FiraCode symbol bindings
# Many RStudio engineers were using this font
# https://github.com/tonsky/FiraCode
a >= 10
a != b
a <- 4
a == 10
a <= 10
@stufield
stufield / functional_pipe_assignment.R
Created January 23, 2019 14:30
Functional Assignment Trick
# Check this out; NSE functional assignment
# Works for functions that take a single `x` argument
# and linear pipe only downstream
myfun <- . %>%
sqrt() %>%
as.character() %>%
paste("is the coolest number ever!")
myfun(9)