-
-
Save perthr/ccd1c9c8ee3b24995d01974581d6143e to your computer and use it in GitHub Desktop.
Source a Gist from R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example: Easily source a Gist from R using devtools | |
# 1) install devtools | |
if (!("devtools" %in% installed.packages()[, 1])) { | |
install.packages("devtools") | |
} | |
# 2) source | |
library(devtools) | |
source_gist("https://gist.github.com/perthr/9a37f173fe3f5535c5b61dfb5b5c42bc") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment