Skip to content

Instantly share code, notes, and snippets.

Jake Thompson wjakethompson

Block or report user

Report or block wjakethompson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View r_logo.R
plot_fun <- function(sim) {
df <- as_tibble(sim)
plot(df$x, df$y, col = df$color, pch = '.', axes = FALSE, xlim = c(-100, 317), ylim = c(-268, 100), xlab = NA, ylab = NA)
thomasp85 / particles.R
Created Feb 26, 2018
Particles on CRAN
View particles.R
# Prepare text polygons
text <- read_json('text.json')
par_text <- text$layers[[3]]$paths
on_text <- text$layers[[2]]$paths
cran_text <- text$layers[[1]]$paths
jhollist / bibify_pkgs.R
Last active Mar 14, 2018
An R function to turn a vector of package names into a bibliorgraphy
View bibify_pkgs.R
#' Generate a bibliography of packages
#' This function creates an output bibliography from an input character vector
#' of package names. The primary use case for this function is when working
#' with other authors and you need to provide a reference list of packages used.
#' @param pkgs A character vector of packages
#' @param csl A csl file used to format the output bibliography. Good place to
#' look for these is \url{}
#' @param append_bib Existing \code{.bib} file to append package citations to.
jb510 /
Last active Nov 4, 2019 — forked from boogah/ale.bash
Auto Update Brew: OS X Launchd job and script to automatically update homebrew
  1. Place where ever you like, I use ~/bin/
  2. Place the .plist file in ~/Library/LaunchAgents and update the path to your bash script
  3. run launchctl load ~/Library/LaunchAgents/com.jb510.homebrewupdate.plist or whatever you've named your plist file.
  4. check launchctl list | grep jb510 to see that it's running

Note: You might need to chmod +x

Note 2: you can run this manually to test your script ~/bin/

Future: Update this to also update casks or using brew cask list | xargs brew cask reinstall

aronatkins /
Last active Nov 12, 2018
Install RStudio daily build on OSX/macOS or Ubuntu Linux
# Installs the latest RStudio daily desktop build for OSX/macOS and Ubuntu(amd64)
set -e
install_macos_daily() {
You can’t perform that action at this time.