5 ms·
The killer feature of RStudio for me is RMarkdown. I composed almost all my homeworks in grad school using RMarkdown in RStudio. You get LaTeX whenever you nee
by wjholden 3y ago
The killer feature of RStudio for me is RMarkdown.
I composed almost all my homeworks in grad school using RMarkdown in RStudio. You get LaTeX whenever you need it, code (I usually use it for R or Julia), and markdown for ordinary text. The kable function renders tables nicely from data frames and ggplot2 creates beautiful plots.
Mathematica and Jupyter have a few advantages, but overall I'm very happy with RStudio.
- minimaxir 3y agoRMarkdown in RStudio was the killer feature, until the VSCode R extension matured. Not only does it support RMarkdown, it adds a ton of features RStudio doesn't have and runs a lot faster. https://github.com/REditorSupport/vscode-R/wiki/R-Markdown https://github.com/REditorSupport/vscode-R/wiki/R-Markdown For my uses, it replaced RStudio 100% of the time.
- adr1an 3y agoCan you use quarto in vscode? It's the next magic from Posit.co
- minimaxir 3y agoYes, quarto has native support for VSCode: https://quarto.org/docs/get-started/hello/vscode.html https://quarto.org/docs/get-started/hello/vscode.html There isn't much advantage to using it over RMarkdown for R, IMO.
- dr_kiszonka 3y agoThanks for the link! Is it possible to display plots inline like in notebooks? (The screenshot shows a plot in a preview pane.)
- minimaxir 3y agoUnfortunately no. (tbh I don't like that feature in RStudio anyways: it makes it longer to scroll through large notebooks, and ggsave is better at rendering charts than R's native rendering) For knitting, you can use Markdown image links.
- dr_kiszonka 3y agoThanks for letting me know.
- Tarq0n 3y agoThat's a lot of prerequisites for something that just works in rstudio.