Position a wordcloud in a r markdown document


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

1 Like

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.


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