3 ms·
From kintr website: http://yihui.name/knitr/demo/engines/ http://yihui.name/knitr/demo/engines/ Language wise you can use the following in knitr: We can use an
by baldfat 10y ago
From kintr website: http://yihui.name/knitr/demo/engines/ http://yihui.name/knitr/demo/engines/
Language wise you can use the following in knitr:
We can use any languages in knitr, including but not limited to R. Here are some simple demos with Python, Awk, Ruby, Haskell, Bash, Perl, Graphviz, TikZ, SAS, Scala, and CoffeeScript, etc:
python.Rmd (output)
c.Rmd (output)
fortran.Rmd (output)
sql.Rmd (output)
awk.Rmd (output)
ruby.Rmd (output)
haskell.Rmd (output)
bash.Rmd (output)
perl.Rmd (output)
dot.Rmd (output)
tikz.Rmd (output)
sas.Rmd (output)
coffeescript.Rmd (output)
polyglot.Rmd (output)
Scala, Python, and Bash
Also glad Python works for you and it is an awesome choice. I would just recommend looking at dplyr tutorial for the "plumbing." you might keep to your Python but this is an awesome workflow. https://cran.rstudio.com/web/packages/dplyr/vignettes/introduction.html https://cran.rstudio.com/web/packages/dplyr/vignettes/introd...
- claytonjy 10y agoOne drawback worth mentioning is that while all R chunks in a notebook share the same environment, non-R chunks do not. This means that if the first e.g. python chunk creates a variable `x`, the next python chunk will not be able to use it. Jupyter notebooks don't have this issue.