KnitR/Compilation

From Wikiversity
Jump to navigation Jump to search

Compilation of a KnitR source file[edit | edit source]

A knitR source file must be compiled to get the final output as PDF, HTML-presentation, Office document (e.g. LibreOffice). The compilation can be performed by pressing the KnitR-Button in R-Studio or from the R-console by running rmarkdown::render(<FILENAME>) from the R console.