Live data from Hacker News

Big Book of R

bigbookofr.com

11–20 of 116 posts

Re: Big Book of R

#11
This is great - I used to use R all the time when I worked in finance and wish I had this resource back then!

R and RMarkdown were big inspirations for what we're building at evidence.dev now, so very grateful to everyone involved in the R community

Re: Big Book of R

#13
post #3

Very nice, but instead of an owl, shouldn't the cover illustration be a pirate?

Totally agree. R is pure pirate energy. Half the functions are hidden on purpose, the other half only work if you chant the right incantation while facing the CRAN mirror at dawn.

Re: Big Book of R

#14

Tangentially, R can help produce living Markdown documents (.Rmd files). A couple of ways include pandoc with knitr[0] or my FOSS text editor, KeenWrite[1]. I've kept the R syntax in KeenWrite compatible with knitr. Living documents as part of a build process can produce PDFs that are always up-to-date with respect to external data sources[2], which includes source code. [0]: https://yihui.org/knitr/ [1]: https://kee…

There is also Quarto, which I have had a good experience with: https://quarto.org/

Re: Big Book of R

#16

What is the best way to integrate some R code with a python backend? I’ve been tempted to port to python, but some of the stats libraries have no good counterparts, so, is there a ergonomic way to do this?

Not sure what you mean by "python backend". If you mean calling R from Python, rpy2 mentioned in the other comment works well. If you mean the other direction, RStudio has this all built in. This is probably the best place to start: https://rstudio.github.io/reticulate/articles/calling_python...

Re: Big Book of R

#20
post #13
post #3

Very nice, but instead of an owl, shouldn't the cover illustration be a pirate?

Totally agree. R is pure pirate energy. Half the functions are hidden on purpose, the other half only work if you chant the right incantation while facing the CRAN mirror at dawn.

If you started with SAS for statistics like I did, you'd see how absolutely civilized R is in comparison.
Post reply on HN