Re: [R] bookdown: build using pdflatex from source directory

2021-08-30 Thread Rich Shepard
On Mon, 30 Aug 2021, Rui Barradas wrote: Assuming the file index.Rmd is in R/r4ds-master, try bookdown::render_book("R/r4ds-master/index.Rmd", output_format = "bookdown::pdf_book") Rui, The build needs to run it from the r4ds-master/ directory. I wondered if index.rmd was the entry, but didn

Re: [R] bookdown: build using pdflatex from source directory

2021-08-30 Thread Rui Barradas
Hello, Assuming the file index.Rmd is in R/r4ds-master, try bookdown::render_book("R/r4ds-master/index.Rmd", output_format = "bookdown::pdf_book") 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

[R] bookdown: build using pdflatex from source directory

2021-08-30 Thread Rich Shepard
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