KnitR: Difference between revisions
Alphabetized the categories. |
|||
Line 29: | Line 29: | ||
| website = {{URL|http://yihui.name/knitr}} |
| website = {{URL|http://yihui.name/knitr}} |
||
}} |
}} |
||
'''knitr''' is an engine for dynamic report generation with R.<ref>{{cite book|last=Xie|first=Yihui|title=Dynamic Documents with R and knitr, 2nd Edition|year=2015|publisher=Chapman & Hall/CRC|isbn=9781498716963|url=http://www.crcpress.com/product/isbn/9781498716963}}</ref><ref>{{cite web|last=Xie|first=Yihui|title=knitr: A General-Purpose Tool for Dynamic Report Generation in R|url=https://github.com/yihui/knitr/releases/download/doc/knitr-manual.pdf}}</ref> It is a package in the [[statistical]] programming language [[R (programming language)|R]] that enables integration of R code into [[LaTeX]], [[LyX]], [[HTML]], [[Markdown]], [[AsciiDoc]], and [[reStructuredText]] documents. The purpose of knitr is to allow [[reproducible research]] in R through the means of [[Literate Programming]]. It is licensed under the [[GNU General Public License]].<ref> |
'''knitr''' is an engine for dynamic report generation with R.<ref>{{cite book|last=Xie|first=Yihui|title=Dynamic Documents with R and knitr, 2nd Edition|year=2015|publisher=Chapman & Hall/CRC|isbn=9781498716963|url=http://www.crcpress.com/product/isbn/9781498716963}}</ref><ref>{{cite web|last=Xie|first=Yihui|title=knitr: A General-Purpose Tool for Dynamic Report Generation in R|url=https://github.com/yihui/knitr/releases/download/doc/knitr-manual.pdf}}</ref> It is a package in the [[statistical]] programming language [[R (programming language)|R]] that enables integration of R code into [[LaTeX]], [[LyX]], [[HTML]], [[Markdown]], [[AsciiDoc]], and [[reStructuredText]] documents. The purpose of knitr is to allow [[reproducible research]] in R through the means of [[Literate Programming]]. It is licensed under the [[GNU General Public License]].<ref>https://cran.r-project.org/package=knitr</ref> |
||
knitr was inspired by [[Sweave]] and written with a different design for better [[modularization]], so it is easier to maintain and extend. Sweave can be regarded as a subset of knitr in the sense that all features of Sweave are also available in knitr. Some of knitr extensions include the R Markdown format<ref>{{cite web|last=RStudio, Inc|title=R Markdown — Dynamic Documents for R|url=http://rmarkdown.rstudio.com}}</ref> (used in reports published on RPubs<ref>{{cite web|last=RStudio, Inc|title=Easy web publishing from R|url=http://www.rpubs.com/}}</ref>), caching, [[TikZ]] graphics and support to other languages such as [[Python (programming language)|Python]], [[Perl]], [[C++]], [[Shell scripts]] and [[CoffeeScript]], and so on. |
knitr was inspired by [[Sweave]] and written with a different design for better [[modularization]], so it is easier to maintain and extend. Sweave can be regarded as a subset of knitr in the sense that all features of Sweave are also available in knitr. Some of knitr extensions include the R Markdown format<ref>{{cite web|last=RStudio, Inc|title=R Markdown — Dynamic Documents for R|url=http://rmarkdown.rstudio.com}}</ref> (used in reports published on RPubs<ref>{{cite web|last=RStudio, Inc|title=Easy web publishing from R|url=http://www.rpubs.com/}}</ref>), caching, [[TikZ]] graphics and support to other languages such as [[Python (programming language)|Python]], [[Perl]], [[C++]], [[Shell scripts]] and [[CoffeeScript]], and so on. |
||
knitr is officially supported in the [[RStudio]] [[Integrated development environment|IDE]] for R, [[LyX]], [[Emacs Speaks Statistics|Emacs/ESS]] and the [[ |
knitr is officially supported in the [[RStudio]] [[Integrated development environment|IDE]] for R, [[LyX]], [[Emacs Speaks Statistics|Emacs/ESS]] and the [[Architect (software)|Architect]] [[Integrated development environment|IDE]] for data science. |
||
==See also== |
==See also== |
||
Line 45: | Line 45: | ||
*[https://github.com/yihui/knitr Repository] on [[GitHub]] |
*[https://github.com/yihui/knitr Repository] on [[GitHub]] |
||
*[https://github.com/yihui/knitr-examples/ Example code] on [[GitHub]] |
*[https://github.com/yihui/knitr-examples/ Example code] on [[GitHub]] |
||
*[ |
*[https://cran.r-project.org/package=knitr knitr package] on [[R (programming language)#Packages|CRAN]] |
||
{{LaTeX navbox}} |
{{LaTeX navbox}} |
||
Line 54: | Line 54: | ||
[[Category:Literate programming]] |
[[Category:Literate programming]] |
||
[[Category:R (programming language)]] |
[[Category:R (programming language)]] |
||
{{programming-software-stub}} |
{{programming-software-stub}} |
Revision as of 21:28, 19 July 2016
OSI approved | Yes or No or n/a |
---|---|
GPL compatible | Yes or No |
Copyleft | Yes or No or Partial |
knitr is an engine for dynamic report generation with R.[1][2] It is a package in the statistical programming language R that enables integration of R code into LaTeX, LyX, HTML, Markdown, AsciiDoc, and reStructuredText documents. The purpose of knitr is to allow reproducible research in R through the means of Literate Programming. It is licensed under the GNU General Public License.[3]
knitr was inspired by Sweave and written with a different design for better modularization, so it is easier to maintain and extend. Sweave can be regarded as a subset of knitr in the sense that all features of Sweave are also available in knitr. Some of knitr extensions include the R Markdown format[4] (used in reports published on RPubs[5]), caching, TikZ graphics and support to other languages such as Python, Perl, C++, Shell scripts and CoffeeScript, and so on.
knitr is officially supported in the RStudio IDE for R, LyX, Emacs/ESS and the Architect IDE for data science.
See also
References
- ↑ Xie, Yihui (2015). Dynamic Documents with R and knitr, 2nd Edition. Chapman & Hall/CRC. ISBN 9781498716963. http://www.crcpress.com/product/isbn/9781498716963.
- ↑ Xie, Yihui. "knitr: A General-Purpose Tool for Dynamic Report Generation in R" (PDF).
- ↑ https://cran.r-project.org/package=knitr
- ↑ RStudio, Inc. "R Markdown — Dynamic Documents for R".
- ↑ RStudio, Inc. "Easy web publishing from R".