If you do not have RStudio IDE installed, you will also have to install Pandoc. RStudio is not required but recommended, because it makes it easier to work with R Markdown. This guide assumes you have already installed R and the RStudio IDE. #Installing R Markdown on a compter running Mac OSX With the rmarkdown package, RStudio/Pandoc, and LaTeX, you should be able to compile most R Markdown documents. If at all possible we recommend that you use TinyTex. Installing MiKTeX is pretty straight forward, but it can sometimes be a pain to get it to play nicely with RStudio. You can download the latest distribution of MiKTeX. An alternative option would be to install MiKTeX instead. The R companion package tinytex can help you automatically install missing LaTeX packages when compiling LaTeX or R Markdown documents to PDF. TinyTeX is a lightweight, portable, cross-platform, and easy-to-maintain LaTeX distribution. Install.packages( "tinytex") tinytex :: install_tinytex() # install TinyTeX
0 Comments
Leave a Reply. |