Showing posts with label knitr. Show all posts
Showing posts with label knitr. Show all posts

Monday, May 20, 2013

Another option for R/LaTeX/Sweave editor

WinEdt is another good option for R/LaTeX/Sweave editing. I especially the feature of running "knitr + pdflatex" without opening a R terminal. Unfortunately it is a Windows-only software.

Friday, May 03, 2013

Rstudio vs. StatET

Rstudio wins in easy installation, smaller size, and intuitive user interface. StatET wins in graphical debugger and an outline view. Right now, StatET is a better choice for Sweave/Knitr/LaTeX authoring platform than Rstudio.

Friday, December 14, 2012

Emacs support for knitr

Here is a simple elisp script.

Tuesday, December 04, 2012

Knitr problem

I got some weird problem with my R workflow recently. For example, the very simple code chunk below:
--------------------------------------------------
\documentclass[preview]{standalone}

\begin{document}

\begin{figure}
<dev='tikz'>>=
library(ggplot2)
qplot(displ, hwy, data = mpg, colour = factor(cyl))
@
\end{figure}

\end{document}

--------------------------------------------------
would not build correctly. Sometimes it gave error message, sometimes it created empty page, etc. Installing the latest version of knitr from the github repo seemed to solve the problem.

Counter