Position a wordcloud in a r markdown document


#1

Hi,

i want to plot a wordcloud in a r markdown document.
but when i render the document (to a pdf-file), the wordcloud is on the left side of the document.
is there a way to position it in the center?

greetings, Lucas


#2

Did you try the fig.align = "center" option in the r code chunk for your wordcloud ?
See knitr option and this chapter about r chunk of the rmarkdown guide


You'll find example to center a figure with this option.


#3

Thanks the fig.align = "center" part is just right :slight_smile: