[R] bookdown: build using pdflatex from source directory

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Mon Aug 30 22:45:43 CEST 2021


Assuming the file index.Rmd is in R/r4ds-master, try

bookdown::render_book("R/r4ds-master/index.Rmd", output_format = 

Hope this helps,

Rui Barradas

Às 19:28 de 30/08/21, Rich Shepard escreveu:
> 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
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list