How do I link my working directory to a figpath?

I'm trying to create a wordcloud using a specific image ( The twitter logo) but I'm having trouble with linking my working directory to a figpath. I've installled the correct package (Knitr) but I'm unsure of the code needed for this to work.

wordcloud2(demoFreq, figPath = "examples.jpg")
Error in wordcloud2(demoFreq, figPath = "examples.jpg") : **
** cannot find fig in the figPath

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.