Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

No Image was created while using wordcloud2 with R Script

Hey, 

 

I'm trying to generate a Word Cloud with wordcloud2 R package but when I put the code I get the following error

 

Error Message:
No image was created. The R code didn't result in creation of any visuals. Make sure your R script results in a plot to the R default device.

 

But if I try the same code in R Studio an HTML 5 image is generated, how can I resolve this issue?

 

Product Version: 2.76.5678.782 (19.12) (x64)

R version: 3.4.4

 

Code:

library(wordcloud2)
wordcloud2(data=dataset)

 

Status: New
Comments