title: R Remove distances between words in Wordcloud
body: <p>I have the following dataframe: </p>
  
  <pre><code>df &lt;- data.frame(word = c("text1","text2","text3","text3","text3","text3","text3","text3","text3","text3","text3","text3","text3","text3",
                            "text3","text3","text3","text3","text3","text3"), 
                   freq = c(6500,6400,4500,4400,4000,3800,3300,2900,2300,1200,900,2496,5203,3507,724,1047,725,5739,3927,4085),
                   stringsAsFactors = FALSE)
  </code></pre>
  
  <p>and create the following wordcloud:</p>
  
  <pre><code>cloud2 &lt;- wordcloud(words = df$word, min.freq = 1500,freq = df$freq,random.order=FALSE, 
                      random.color = FALSE, rot.per=0.35, colors= brewer.pal(8,"Dark2"), scale = c(3,0),
                      vfont=c("sans serif","plain"))
  </code></pre>
  
  <p>Somehow, the different words have very much space between. So one or two words often are not completely visible.
  <a href="https://i.stack.imgur.com/ZlxIY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZlxIY.png" alt="enter image description here"></a>
  Is there a possibility to remove the large distances? 
  In other wordclouds like in <a href="https://www.r-bloggers.com/word-cloud-in-r/" rel="nofollow noreferrer">this link</a>, the words are very close to each other. </p>
  
  <p>used packages: </p>
  
  <pre><code>library(tm)
  library(RColorBrewer)
  library(wordcloud)
  </code></pre>