5 ms·
+1 for RMarkdown and editR. The best thing about RMarkdown is the ability to do calculations in R and use those variables within LaTeX. A simple example: ```
by nicolewhite 11y ago
+1 for RMarkdown and editR. The best thing about RMarkdown is the ability to do calculations in R and use those variables within LaTeX. A simple example:
```{r}
a = 3
b = 6
c = a / b
```
Did you know that $\frac{`r a`}{`r b`} = `r c`$?
http://i.imgur.com/IpiqDEx.png http://i.imgur.com/IpiqDEx.png
- codemac 11y agoYou should check out http://orgmode.org http://orgmode.org as well - though I'm sure someone has mentioned it. The best part is that you do these kind of: #+begin_src <lang> <options> some code #+end_src Such that you can cross between R, python, C, whatever you want, and end up with a cohesive, executable document.
- monochr 11y agoI quite like sagetex: http://doc.sagemath.org/html/en/tutorial/sagetex.html http://doc.sagemath.org/html/en/tutorial/sagetex.html A python like mathematica clone.