A re-styled version of the R manuals
See the codeThis project translates the official R manuals to quarto with the aim of lightly re-styling for better readability:
You can view the resulting https://rstudio.github.io/r-manuals
Background information
doc/manual, on trunk for R-devel
(https://github.com/wch/r-source/tree/trunk/doc/manual) and on a
release branch/tag for released versions of R. By default this project
builds the latest release — see Building the
manuals.texinfo, the “GNU documentation
format” (https://www.gnu.org/software/texinfo/)texinfo document to HTMLpandoc to convert the HTML to
markdown, manipulate the markdown and then re-convert to HTMLThe build script is in the file scripts/build_website.R.
By default the build tracks the latest released version of R. Set
the R_MANUALS_REF environment variable to build a different version:
# Latest released R (the default)
Rscript scripts/build_website.R
# R-devel (renders "Under development")
R_MANUALS_REF=trunk Rscript scripts/build_website.R
# A specific release series or exact release
R_MANUALS_REF=R-4-6-branch Rscript scripts/build_website.R # latest patched 4.6.x
R_MANUALS_REF=tags/R-4-6-1 Rscript scripts/build_website.R # exact 4.6.1 release
The ref refers to a branch or tag in the
wch/r-source mirror. When
R_MANUALS_REF is unset, the build detects the newest release tag
automatically.
For each manual:
texinfo manual files and associated images and
environment variablesmakeinfo to convert from .texi to HTMLpandoc with additional Lua
filters to convert to markdownThen combine the various quarto books into a quarto website.
makeinfoOn Linux, you can easily install the makeinfo utility using
sudo apt install texinfo.
On Windows, makeinfo is installed as part of
RTools40.
We provide the conversion code, i.e. this collection of R scripts and pandoc lua filters, under the MIT license.
The original R manuals are not under this MIT license. Instead, these manuals contain the following license:
Copyright © 1999–2021 R Core Team
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the R Core Team.
R
89.8%
Lua
7.3%
SCSS
2.9%
A re-styled version of the R manuals
See the codeThis project translates the official R manuals to quarto with the aim of lightly re-styling for better readability:
You can view the resulting https://rstudio.github.io/r-manuals
Background information
doc/manual, on trunk for R-devel
(https://github.com/wch/r-source/tree/trunk/doc/manual) and on a
release branch/tag for released versions of R. By default this project
builds the latest release — see Building the
manuals.texinfo, the “GNU documentation
format” (https://www.gnu.org/software/texinfo/)texinfo document to HTMLpandoc to convert the HTML to
markdown, manipulate the markdown and then re-convert to HTMLThe build script is in the file scripts/build_website.R.
By default the build tracks the latest released version of R. Set
the R_MANUALS_REF environment variable to build a different version:
# Latest released R (the default)
Rscript scripts/build_website.R
# R-devel (renders "Under development")
R_MANUALS_REF=trunk Rscript scripts/build_website.R
# A specific release series or exact release
R_MANUALS_REF=R-4-6-branch Rscript scripts/build_website.R # latest patched 4.6.x
R_MANUALS_REF=tags/R-4-6-1 Rscript scripts/build_website.R # exact 4.6.1 release
The ref refers to a branch or tag in the
wch/r-source mirror. When
R_MANUALS_REF is unset, the build detects the newest release tag
automatically.
For each manual:
texinfo manual files and associated images and
environment variablesmakeinfo to convert from .texi to HTMLpandoc with additional Lua
filters to convert to markdownThen combine the various quarto books into a quarto website.
makeinfoOn Linux, you can easily install the makeinfo utility using
sudo apt install texinfo.
On Windows, makeinfo is installed as part of
RTools40.
We provide the conversion code, i.e. this collection of R scripts and pandoc lua filters, under the MIT license.
The original R manuals are not under this MIT license. Instead, these manuals contain the following license:
Copyright © 1999–2021 R Core Team
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the R Core Team.
R
89.8%
Lua
7.3%
SCSS
2.9%