Dan Chaltiel
Dan Chaltiel

Reputation: 8513

How to remove linebreak after ReporteRs::addPlot()?

I'm using the ReporteRs package to generate my reports.

But whenever I want to add a plot, the function adds a newline after.

How can I prevent this so I can put 2 plots on the same line ?

Upvotes: 0

Views: 48

Answers (1)

David Gohel
David Gohel

Reputation: 10695

addPlot adds a plot in a new paragraph. You should use pot_img (and generate the image on your own) to keep images in a single paragraph.

The link provided by @Victorp is the correct one.

Upvotes: 1

Related Questions