Quantcast
Channel: Including images in an R code chunk of R sweave using for loop - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Fran for Including images in an R code chunk of R sweave using for...

This should work with knitr (not with Sweave) with both include_graphics and image_read. Avoid the Sweave chunk options and the figure environment using knitr. I would use only include_graphics because...

View Article



Including images in an R code chunk of R sweave using for loop

I am new to sweave and Latex. I am basically using an if-else loop which should display some specific image (taken from the laptop) if certain condition is satisfied. When I run this loop in R, the...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images