Created
November 8, 2012 21:58
-
-
Save jtoll/4041987 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/4041561") | |
# - or - | |
devtools::source_gist(4041561) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks jtoll I know you created this a long time back but it helped me, cheers