[R] bookdown: build using pdflatex from source directory

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Mon Aug 30 20:28:55 CEST 2021


I have a dead tree copy of 'R for Data Science' and want a PDF that's more
efficiently accessed when I'm working with R.

Installed here are all the files in r4ds-master/. Reading the online copy of
'bookdown: Authoring Books and Technical Documents with R Markdown' I'm not
seeing how to build the pdf copy from the source located in ~/R/r4ds-master/
and I'm running R in a different virtual terminal.

Would the command (issued in R):
bookdown::render_book("R/r4ds-master/rmarkdown.Rmd")
compile the entire book?

Rich



More information about the R-help mailing list