shadow text effect in grid and ggplot2 graphics

[This article was first published on R on Guangchuang YU, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

After the release of meme package, I received several feedbacks from users. The most usefule one is the comment on my blog post:
Greetings Mr. Yu, I am very happy that this package exists. Thank you for making it! I would like to request a feature, to ensure the package is able to compete with professional meme-creation tools like memegenerator and paint.net. Since memes often use the font Impact, in white and with black outline, I believe the package would be more powerful if it also did that automatically. Regards,  
The words, ‘compete with professional meme-creation tools’, stimulated me to develop text plotting with background outline effect. Now this feature is available in meme v>=0.0.7, which can be downloaded from CRAN. Here is an example:
library(meme)
u <- system.file("angry8.jpg", package="meme")
meme(u, "code", "all the things!")

To make this shadow text feature available to the R community, I created another package, shadowtext, that creates/draws text grob with background shadow for grid and ggplot2. If you are interesting, please refer to the online vignette.

To leave a comment for the author, please follow the link and comment on their blog: R on Guangchuang YU.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)