I'm trying to use knitr while learning LaTeX but all my figures are placed at a seemingly random place.
It's driving me insane. Any ideas?
I tried reinstalling TeX Live and R but nothing changed
EDIT : Ok, I solved more or less the problem by wrapping all chunk in \begin{figure}[H] \end{figure}
LaTeX is complaining but it works
( R 2.15.2, Rstudio, Tex live )
Example
Output
– aussetg Feb 10 '13 at 17:10Hoption, which can be good or bad. Typesetting figures (or floats) in LaTeX is really really tricky. You will know more about this as you become familiar with LaTeX. – Yihui Xie Feb 20 '13 at 01:45