Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Authoring Books and Technical Documents with R Markdown

License

NotificationsYou must be signed in to change notification settings

rstudio/bookdown

Repository files navigation

R-CMD-checkCRAN releaseCodecov test coverage

A open-source (GPL-3) R package to facilitate writing books and long-form articles/reports with R Markdown. Features include:

  • Generate printer-ready books and ebooks from R Markdown documents
  • A markup language easier to learn than LaTeX, and to write elements such as section headers, lists, quotes, figures, tables, and citations
  • Multiple choices of output formats: PDF, LaTeX, HTML, EPUB, and Word.
  • Possibility of including dynamic graphics and interactive applications (HTML widgets and Shiny apps)
  • Support for languages other than R, including C/C++, Python, and SQL, etc.
  • LaTeX equations, theorems, and proofs work for all output formats
  • Can be published to GitHub, bookdown.org, and any web servers
  • Integrated with the RStudio IDE
  • One-click publishing tohttps://bookdown.org

Book

bookdown: Authoring Books and Technical Documents with R Markdown

Installation

You can install the package from CRAN as follows:

install.packages("bookdown")

If you want to use the development version of thebookdown package, you can install the package from GitHub via thepak package:

# install.packages("pak")pak::pak('rstudio/bookdown')

Usage

The easiest way to start a new Bookdown project is from within RStudio IDE. Go toFile > New Project > New Directory > Book project using bookdown.

This will create a new directory with an example book as template. You can build the HTML version of this example book without doing any modification:

  • Go into the Build Pane in the RStudio IDE
  • Click onBuild Book > bookdown::gitbook

You can also runbookdown::render_book() in the R console.

Learn more about using bookdown in theGetting started section.

Getting help

There are two main places to get help:

  1. TheRStudio community is a friendly place to ask any questions aboutbookdown. Be sure to use thebookdown tag.

  2. Stack Overflow is a great source of answers to commonbookdown questions. Use the tags[r][bookdown] if you ask a question.

Code of Conduct

Please note that the bookdown project is released with aContributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


[8]ページ先頭

©2009-2025 Movatter.jp