Skip to content
Prev 307190 / 398506 Next

LaTeX consistent publication graphics from R and Comparison of GLE and R

You can do everything in R and leave the dirty job to it the
tikzDevice package. For example, we can draw these charts with the
diagram package. To make things a little bit easier, we can put the
code in an Rnw document and compile with knitr. Attached is an example
of what we can achieve with:

\documentclass{article}
\begin{document}
<<flowchart, dev='tikz', cache=TRUE>>=
library(diagram)
demo('flowchart')
@
\end{document}

Note tikzDevices is not back to CRAN yet:
http://r.789695.n4.nabble.com/tikzDevice-not-available-td4640395.html

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Sat, Oct 6, 2012 at 8:14 AM, Frank Harrell <f.harrell at vanderbilt.edu> wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 051-flowchart.pdf
Type: application/pdf
Size: 613045 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121006/6aa872e1/attachment.pdf>