Last active
June 5, 2018 00:09
-
-
Save blakiseskream/1fb6dc4f50d52548eb67f8437db6f70e to your computer and use it in GitHub Desktop.
create memes using R
This file contains 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
# view the docs here https://cran.r-project.org/web/packages/meme/vignettes/meme.html | |
# example generating this meme I emailed you | |
# install.packages('meme') | |
library(meme) | |
# only run this once | |
if (.Platform$OS.type == "windows") { | |
windowsFonts( | |
Impact = windowsFont("Impact"), | |
Courier = windowsFont("Courier") | |
) | |
} | |
# can use an image at any url | |
meme('https://imgflip.com/s/meme/Leonardo-Dicaprio-Cheers.jpg', "you can make memes in R", "you're welcome") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment