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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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