Knitr - DrXyzzy/cocalc GitHub Wiki
Besides Jupyter Notebooks and running R in a Linux Terminal, CoCalc offers support for embedding R commands in documents. Under the hood, it uses Knitr and manages all the details for you.
LaTeX via Knitr
Getting started
- Create a file with the ending
.Rnw
, preferably in a subdirectory.
Features
- forward/inverse search
- detection of Knitr issues and post-processing of errors
- persistent caching across sessions and project restarts
- support for running standalone
*.R
scripts and importing them in a LaTeX document - create files or read from other data files
- 10 minutes timeout (maximum, also depends on available memory)
Rmarkdown
- Processing of all cells upon save