简体   繁体   中英

How do I build a Bookdown Project?

I'm trying to create my first R Bookdown. I have a project created and two .RMD files created. I'm trying to build the project but all I see under the Build menu option is Configure Build Tools . There is no option to actually build the project. What do I need to do?

I have the same problem. At the moment I render the book with this code:

bookdown::render_book("index.Rmd")

That generate a *.Rmd file with all chapters and then I Knit this file.

---update---

In my case, in Win10, besides installing bookdown ,if I install rmarkdown package, appear a Build tab-->with Build book button in the upper right window, next to History and Environment tabs.

But before you have to select menu Tools --> Project Options --> Build Tools , and change Project build tools to Website from whatever you had (Makefile...or other)

I also had to change Project Options --> Sweave --> Typeset LaTeX into PDF using: XeLaTeX. Previously I had pdfLaTeX selected. Changing into XeLaTeX made the button Build Book show correctly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM