You can use wordcloud2 package for that. It allows you to use any image as the mask. Just put in the working directory and link to it using figpath. Below is the code I used to make the wordcloud. Below that is the wordcloud. Here is the image I used as the mask.
library(wordcloud2)
wordcloud2(demoFreq, figPath = "twitter.jpg")