Preview and save images of rendered snippets of LaTeX in RStudio viewer
Must have pdflatex in PATH (Windows users can install by running the following in R:
Supports xtable inputs
Defined as Rstudio Addin so user can highlight text in the editor and invoke preview automatically.
Can be run in a rmarkdown enviornment pdf/html/book/beamer/ioslides/slidy/revealjs …