title: How can I change the size of the wordcloud in R shiny to do not to cut the image?
body: <p>How can I change the size of the wordcloud in <code>R</code> shiny to do not to cut the image?</p>
  
  <p>I used <code>png()</code> function, but I did not get results :</p>
  
  <p><a href="https://i.stack.imgur.com/sAlRZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sAlRZ.png" alt="enter image description here"></a> </p>
  
  <pre><code>output$plot2 &lt;- renderPlot({
  
      terms2 &lt;- reactive({
        # Change when the "update" button is pressed...
        input$update
  
        data2 &lt;- input$texto1
  
        # ...but not for anything else
        isolate({
          withProgress({
            setProgress(message = "Processing corpus...")
            getTermMatrix2(data2)
  
          })
        })
      })
  
      v2 &lt;- terms2()
  
      wordcloud_rep2(names(v2), v2, scale=c(4,0.5),
                    min.freq = 1, max.words=20,
                    colors=brewer.pal(8, "Dark2"))
    })
  </code></pre>