1 安装bookdown

Bookdown is a package based on Rmarkdown.

  • Install R and RStudio

  • In the console of the Rstudio, install bookdown:

install.packages("bookdown")
  • Download bookdown demo. Unzip the zip file

  • open bookdown-demo.Rproj with Rstudio, and click Build-Build All in the menu, the book demo can be generated.