library(JOPS)
library(JOPSbook)
library(ggplot2)

# automatically create a bib database for R packages
knitr::write_bib(c(
  .packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')

knitr::opts_chunk$set(
  # collapse = TRUE,
  comment = "#>"
  # fig.width = 7, fig.height = 5
)

前言 {.unnumbered #Intro}

bookdown编译 {.unnumbered #render}

You can render the HTML version of this example book without changing anything:

  1. Find the Build pane in the RStudio IDE, and

  2. Click on Build Book, then select your output format, or select "All formats" if you'd like to use multiple formats from the same book source files.

bookdown::render_book()

如需编译pdf(bookdown::pdf_book),需要安装XeLaTeX。建议使用TinyTeXhttps://yihui.org/tinytex/

bookdown预览 {.unnumbered #view}

bookdown::serve_book()

bookdown使用心得 {.unnumbered #thinking}

作者简介 {.unnumbered #author}

参考文献 {.unnumbered #reference}

  1. Xie Yihui (2022), Books and Technical Documents with R Markdown, https://bookdown.org/yihui/bookdown

  2. 李东风 (2022), R语言教程, 北京大学《统计软件》, https://www.math.pku.edu.cn/teachers/lidf/docs/Rbook/html/_Rbook/bookdown.html

  3. 王敏杰 (2022), 数据科学中的R语言, 四川师范大学研究生公选课, https://bookdown.org/wangminjie/R4DS/baseR-intro-ds.html, https://github.com/perlatex/R_for_Data_Science



rpkgs/JOPSbook documentation built on Jan. 5, 2023, 4:44 p.m.