{"id":14069904,"url":"https://github.com/yihui/knitr-book","last_synced_at":"2025-04-07T09:18:09.401Z","repository":{"id":2753561,"uuid":"3750266","full_name":"yihui/knitr-book","owner":"yihui","description":"Dynamic Documents with R and knitr","archived":false,"fork":false,"pushed_at":"2021-11-30T17:17:47.000Z","size":230,"stargazers_count":234,"open_issues_count":1,"forks_count":140,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-03-31T07:07:58.175Z","etag":null,"topics":["book","dynamic-documents","knitr","latex","literate-programming","lyx","rmarkdown"],"latest_commit_sha":null,"homepage":"https://amzn.com/dp/1498716962","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yihui.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-17T19:44:35.000Z","updated_at":"2025-03-20T20:11:20.000Z","dependencies_parsed_at":"2022-07-16T18:17:00.962Z","dependency_job_id":null,"html_url":"https://github.com/yihui/knitr-book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fknitr-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fknitr-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fknitr-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fknitr-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yihui","download_url":"https://codeload.github.com/yihui/knitr-book/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622985,"owners_count":20968575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["book","dynamic-documents","knitr","latex","literate-programming","lyx","rmarkdown"],"created_at":"2024-08-13T07:07:19.420Z","updated_at":"2025-04-07T09:18:09.370Z","avatar_url":"https://github.com/yihui.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"readme":"# Dynamic Documents with R and knitr\n\nIn the very beginning, I planned to write this book with Markdown, but later\nI changed my mind and wrote it in LyX instead. For those who are still\ninterested in the Markdown source, please see the [markdown](markdown)\ndirectory.\n\nNow this book has been published by [Chapman \u0026\nHall](https://www.crcpress.com/Dynamic-Documents-with-R-and-knitr-Second-Edition/Xie/9781498716963). You can also find\nit on [Amazon](https://www.amazon.com/dp/1498716962/). There is a\n[book review](http://www.jstatsoft.org/v56/b02/) published in the Journal of\nStatistical Software, which may give you a better idea of this book than my\nown introduction.\n\n## The book source\n\nBesides the old Markdown source which is really only an empty sketch, this\nrepository also provides the real source files for the first three chapters\nof the book, so that you can learn how the book was written and quickly get\nstarted with writing books using the LaTeX style by Chapman \u0026 Hall.\n\nThe main file is `DDR-Yihui-Xie-Chap1-3.lyx`; the Rnw file\n`DDR-Yihui-Xie-Chap1-3.Rnw` was exported from LyX; `krantz.cls` is the LaTeX\nclass provided by Chapman \u0026 Hall, and I wrote a simple LyX layout file\n`krantz.layout`; `DDR-Yihui-Xie.bib` contains some bibliography entries, and\n`DDR-packages.bib` is dynamically generated from **knitr** (see the last\nchunk in the LyX or Rnw file).\n\nThe PDF of the first three chapters can be downloaded\n[here :arrow_down:](https://github.com/yihui/knitr/releases/download/doc/DDR-Yihui-Xie-Chap1-3.pdf).\n\nFor Linux users, the minimal version of LyX for this book is 2.0.3 (as you can\nget from Debian). For Windows/Mac OS X users, just download the latest binaries\nfrom the [LyX website](http://lyx.org). If you do not use LyX, you can simply\nopen the Rnw file and start from there.\n\nBe sure to read the session info in the preface because your R packages may\nnot be up-to-date to reproduce the PDF. Normally I use development versions\nof my packages, because I often find little problems that I need to solve\nfor the book, and these changes will end up in the development versions.\n\n## Contact\n\nGitHub issues (\u003chttps://github.com/yihui/knitr-book/issues\u003e) is the\npreferred way for feedbacks. You can also reach me by email if you really\nwant:\n\n```bash\necho oybuwycxy.trpb | tr bopcrbtucwxyc+ exmiaen@iyuih\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihui%2Fknitr-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyihui%2Fknitr-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihui%2Fknitr-book/lists"}