knitr-book

Dynamic Documents with R and knitr

Github星跟蹤圖

Dynamic Documents with R and knitr

In the very beginning, I planned to write this book with Markdown, but later
I changed my mind and wrote it in LyX instead. For those who are still
interested in the Markdown source, please see the markdown
directory.

Now this book has been published by Chapman &
Hall
. You can also find
it on Amazon. There is a
book review published in the Journal of
Statistical Software, which may give you a better idea of this book than my
own introduction.

The book source

Besides the old Markdown source which is really only an empty sketch, this
repository also provides the real source files for the first three chapters
of the book, so that you can learn how the book was written and quickly get
started with writing books using the LaTeX style by Chapman & Hall.

The main file is DDR-Yihui-Xie-Chap1-3.lyx; the Rnw file
DDR-Yihui-Xie-Chap1-3.Rnw was exported from LyX; krantz.cls is the LaTeX
class provided by Chapman & Hall, and I wrote a simple LyX layout file
krantz.layout; DDR-Yihui-Xie.bib contains some bibliography entries, and
DDR-packages.bib is dynamically generated from knitr (see the last
chunk in the LyX or Rnw file).

The PDF of the first three chapters can be downloaded
here :arrow_down:.

For Linux users, the minimal version of LyX for this book is 2.0.3 (as you can
get from Debian). For Windows/Mac OS X users, just download the latest binaries
from the LyX website. If you do not use LyX, you can simply
open the Rnw file and start from there.

Be sure to read the session info in the preface because your R packages may
not be up-to-date to reproduce the PDF. Normally I use development versions
of my packages, because I often find little problems that I need to solve
for the book, and these changes will end up in the development versions.

Contact

GitHub issues (https://github.com/yihui/knitr-book/issues) is the
preferred way for feedbacks. You can also reach me by email if you really
want:

echo oybuwycxy.trpb, tr bopcrbtucwxyc+ exmiaen@iyuih

主要指標

概覽
名稱與所有者yihui/knitr-book
主編程語言TeX
編程語言TeX (語言數: 2)
平台
許可證
所有者活动
創建於2012-03-17 19:44:35
推送於2021-11-30 17:17:47
最后一次提交2021-11-30 11:17:47
發布數0
用户参与
星數236
關注者數36
派生數139
提交數37
已啟用問題?
問題數9
打開的問題數1
拉請求數3
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?