[R] knitr and functions generating latex

2013-10-09 Thread Daryl Morris
Hi, I have what I think should be a basic question on knitr. I am just moving to knitr, and previously I had created functions which automatically created latex wrappers for many (100s) figures. I also have other functions which automatically create pages worth of latex tables. The knitr

Re: [R] knitr and functions generating latex

2013-10-09 Thread Yihui Xie
I think in most cases you are probably on the wrong track if you have to generate LaTeX code for figures from R code (LaTeX tables are another story), but your case might be different. You did not give a specific example on why you had to do that, so I cannot give any advice for now. My best