This repository contains the LaTeX source of the book titled Learn R: As a Langauge published in The R Series.
This is Copyrighted material (c) 2020 and 2024 Pedro J. Aphalo, in print by CRC/Taylor & Francis. Made available on-line in good faith as allowed by my contract with the publisher, but with all republication and reuse rights reserved by the publisher and/or myself. You can study the code and contribute edits, which will be acknowleged. Please be aware, that you are not allowed to redistribute any files or make any forks public or to remove this copyright note from private forks, or create a derived version of the text. In case of doubt, the copyright notice on the published book prevails. However, you are welcome to share the link to this repository. Contact CRC/Taylor & Francis for permission requests.
In contrast to the text, the R code in the chunks, and all files used in examples, data and R scripts are available under GPL >= 2.0.0 as part of R Package 'learnrbook' both through CRAN and the R-Universe, and also in a separate repository here at GitHub: https://github.com/aphalo/learnrbook-pkg. These can be reused as allowed by the GPL.
Building the PDF requires knitr, XeLaTeX, LaTeX packages available at CTAN, the Lucida fonts as distributed by TUG, several R packages, and to disable evaluation of the code in one section of Chapter 10 that connects via USB to a YoctoPuce sensor and logger module. The book is known to build with MikTeX but other distributions should also work. I re-build the PDF file every few months with the current version of R, R-packages, MikTeX, LaTeX and LaTeX packages. If you encounter any problems, please, raise an issue at GitHub, as suggested below, or contact the author by e-mail.
You are welcome to contribute pull requests and also to report errors and propose enhancements by opening an issue. Contributions and error reports will be acknowledged in the next edition.
- Pedro J. Aphalo
- e-mail: [email protected]
- Mastodon: @aphalo