Installation of KnitR edit

KnitR comes as a CRAN package, hence can be installed as any CRAN package either with your R package manager, if you use one, for example that which comes with your IDE or simple from the R command line by typing

install.packages('knitR', dependencies=TRUE)

where the part about the dependencies automatically installs all packages that are needed for the use of knitR.

Output Formats edit

You need for specific output formats additional software for the KnitR document generation. This section explains the additional software required for specific output formats:

  • PDF-output: LaTeX must be installed on your computer to render the generated output in PDF.
  • ODT-output: Install LibreOffice to edit the generated text by KnitR