Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

BOOK: Popper, K. R. (1935) Logik der Forschung. Springer, Wien


 

LaTeX and RStudio

 

Brief introduction to LaTeX

LaTeX is a language that allows you to create beautifully formatted text documents (.pdf or .ps) without too much effort. RStudio provides a good enough environment for writing LaTeX documents but if you want something specific to LaTeX you can check e.g. Kile.

The internet is full of tutorials to start with LaTeX, see e.g.

 

Sweave and knitr: LaTex in RStudio

You can of course copy-paste your code in LaTeX (using e.g. the package listings for syntax formatting) and save graphics to include, but here the advantage is:

 

This enables the creation of dynamic reports that are updated automatically if data or analysis changes.

 

 

 

This means Sweave is very useful for "on going" projects, where things are expected to change, as well as quick notes on something you are working on.

Ref:

https://support.rstudio.com/hc/en-us/articles/200552056-Using-Sweave-and-knitr

 

Setting knitr as default for Rnw files

 

Ref:

https://support.rstudio.com/hc/en-us/articles/200532247


Coming soon