Hi, A useful package if you want to make drawings in R using the tikzDevice package. Another great tool from Yihui. Here I show step by step the installation and how to run some simple code in R to create some pdf's with the help of Miktex, tikz and knitr. Useful document I refered to for minimal tikz commands http://cremeronline.com/LaTeX/minimaltikz.pdf Requirements: 1. Install Miktex. I go for the 64 bit installer. If you choose the portable one then remember to add the paths to your windows paths. 2. Install Rtools 3. Of course install R and RStudio!! Installation: 1. Fire up an R Script in RStudio. 2. Run the following code library(knitr) devtools::install_github( 'yihui/tikzDevice' ) # This is part is required as cran version has a problem when referencing the paths to the Miktex installation require(tikzDevice) tikz('normal.tex', standAlone = TRUE, width=5, height=5) # This is a barbone standalone pdf document which will be compiled int...