R Markdown Cookbook
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
12 Output Hooks (*)
R Markdown Cookbook 中文版
来源 R Markdown Cookbook
浏览
200
扫码
打印
2024-05-07 13:56:50
12.1 Redact source code
上一篇:
下一篇:
发布点评
载入天数...
载入时分秒...
Preface
How to read this book
Structure of the book
Software information and conventions
Acknowledgments
About the Authors
Yihui Xie
Christophe Dervieux
Emily Riederer
1 Installation
1.1 Use a Pandoc version not bundled with the RStudio IDE
1.2 Install LaTeX (TinyTeX) for PDF reports
1.3 Install missing LaTeX packages
2 Conceptual Overview
2.1 What happens when we render?
2.2 R Markdown anatomy
2.3 What can we change to change the results?
3 Basics
3.1 Code chunks and inline R code
3.2 Write Markdown in the RStudio visual editor
3.3 Render an R script to a report
3.4 Convert R Markdown to R script
3.5 R Markdown Notebooks
4 Document Elements
4.1 Insert page breaks
4.2 Set the document title dynamically
4.3 Access the document metadata in R code
4.4 Unnumbered sections
4.5 Bibliographies and citations
4.6 Generate R package citations
4.7 Cross-referencing within documents
4.8 Update the date automatically
4.9 Multiple authors in a document
4.10 Numbered figure captions
4.11 Combine words into a comma-separated phrase
4.12 Preserve a large number of line breaks
4.13 Convert models to equations
4.14 Create an animation from multiple R plots
4.15 Create diagrams
4.16 Escape special characters
4.17 Comment out text
4.18 Omit a heading in the table of contents
4.19 Put together all code in the appendix (*)
4.20 Manipulate Markdown via Pandoc Lua filters (*)
5 Formatting
5.1 Font color
5.2 Indent text
5.3 Control the width of text output
5.4 Control the size of plots/images
5.5 Figure alignment
5.6 Verbatim code chunks
5.7 Line numbers for code blocks (*)
5.8 Multi-column layout (*)
6 LaTeX Output
6.1 Add LaTeX code to the preamble
6.2 Pandoc options for LaTeX output
6.3 Add logo to title page
6.4 Include additional LaTeX packages
6.5 Control the placement of figures
6.6 LaTeX sub-figures
6.7 Render documents containing Unicode characters
6.8 Generate a LaTeX fragment
6.9 Add custom headers and footers (*)
6.10 Use a custom Pandoc LaTeX template (*)
6.11 Write raw LaTeX code
6.12 For hardcore LaTeX users (*)
7 HTML Output
7.1 Apply custom CSS
7.2 Center section headings
7.3 Style code blocks and text output
7.4 Scrollable code blocks (*)
7.5 Fold all code blocks but show some initially
7.6 Put content in tabs
7.7 Embed the Rmd source file in the HTML output file
7.8 Embed arbitrary files in the HTML output file
7.9 Use a custom HTML template (*)
7.10 Include the content of an existing HTML file (*)
7.11 Add a custom browser icon
7.12 Use the details disclosure element
7.13 Sharing HTML output on the web
7.14 Improve accessibility of HTML pages
7.15 For hardcore HTML users (*)
8 Word
8.1 Custom Word templates
8.2 The two-way workflow between R Markdown and Word
8.3 Style individual elements
9 Multiple Output Formats
9.1 LaTeX or HTML output
9.2 Display HTML widgets
9.3 Embed a web page
9.4 Multiple figures side by side
9.5 Write raw content (*)
9.6 Custom blocks (*)
10 Tables
10.1 The function knitr::kable()
10.2 The kableExtra package
10.3 Other packages for creating tables
11 Chunk Options
11.11 Output text as raw Markdown content (*)
11.12 Remove leading hashes in text output
11.13 Add attributes to text output blocks (*)
12 Output Hooks (*)
12.1 Redact source code
12.3 Scrollable text output
13 Chunk Hooks (*)
14 Miscellaneous knitr Tricks
14.1 Reuse code chunks
15 Other Languages
15.6 Write the chunk content to a file via the cat engine
16 Managing Projects
16.4 Child documents (*)
17 Workflow
17.4 Parameterized reports
17.5 Customize the Knit button (*)
References
暂无相关搜索结果!
本文档使用
Devlive 开源社区
构建
载入天数...
载入时分秒...
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度