News for hackers. Stuff that matters.
Re:Bookdown – Authoring Books and Technical Documents with R... by dandermotj on Saturday December 03, 2016 @07:16AM (#13095408)
It's not a replacement for TeX. R originally had Sweave for weaving R and text together. Then we got Rmarkdown, which introduced the use of markdown for authoring documents via pandoc, but the output document only had simple features like headers, sub headers, emphasis and so on.

Now Yuhui from Rstudio (who's been prolific in this area) has written bookdown for authoring books with rmarkdown. It's not for authoring statistical papers (as the other comments stated - that's rmarkdown's realm) it's for books like Hadley Wickham's R4DS and Advanced R. Other examples can be found on the bookdown website.

I'd also add that, regardless of inserting R code, bookdown is a class authoring format and personally I would write a book or large document in bookdown even if it was just pure prose.

Re:Bookdown – Authoring Books and Technical Documents with R... by Noseshine on Saturday December 03, 2016 @01:00PM (#13096671)

  > It's not for authoring statistical papers (as the other comments stated
While you are technically right what will most likely happen is what we can already see (on https://bookdown.org/) - exactly what I described in my comment. Of course one could write a novel with it. Any publishing tool can be used to publish "just text". But who is going to end up using this tool? Pretty much only people already using R, and that - apart from people taking a course - is people doing statistics.

I looked at two randomly selected pages in two randomly selected books on the homepage (I swear I didn't click on more than those two to select examples that fit my narrative), both show it's being used just as I said.

- http://r4ds.had.co.nz/exploratory-data-analysis.html

- https://bookdown.org/robertkck/ecf_draft/low-carbon-is-promi... (this one has interactive graphics)

My reply was aimed at someone who doesn't seem to know any of the background story.

I agree with you that it's a nice tool for a lot of purposes.