1
vote
1answer
226 views

knitr generated pdf cut border off from figure

I have a a problem with a figure that is correctly generated in RStudio but when knitted its right margin is not set correctly. Please consider the following MWE \documentclass[a4papera4paper, ...
5
votes
1answer
298 views

knitr and font style consistency in graphics

I am starting to use knitr to print graphics from R in my document. So far what I have been doing (I don't know if this is the best approach, but it is working) is to load the my R workspace with ...
1
vote
0answers
179 views

knitr : Figure are not appearing at the correct place [duplicate]

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? Example Input PDF Output I tried reinstalling TeX Live ...
11
votes
1answer
1k views

Two column layout with text and knitr chunk

When making presentations (with latex beamer class), I often go for a frame layout with text and equations on the left and a corresponding figure on the right. My standard solution has been to wrap ...