Generating 'Sweave' Code for 'R/exams' Questions in Mathematics
Overview
When using the R package 'exams' to write mathematics questions in 'Sweave' files, the output of a lot of R functions need to be adjusted for display in mathematical formulas. Specifically, the functions were accumulated when writing questions for the topics of the mathematics courses College Algebra, Precalculus, Calculus, Differential Equations, Introduction to Probability, and Linear Algebra. The output of the developed functions can be used in 'Sweave' files.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) permucycle.Rd:37: Lost braces; missing escapes or markup?
37 | {The 2 in the first row means there are two cycles;}
| ^
checkRd: (-1) permucycle.Rd:38: Lost braces; missing escapes or markup?
38 | {The second row means there is a cycle of length 2, with members (1,3);}
| ^
checkRd: (-1) permucycle.Rd:39: Lost braces; missing escapes or markup?
39 | {The third row means there is a cycle of length 1, with member (2);}
| ^
checkRd: (-1) permucycle.Rd:40: Lost braces; missing escapes or markup?
40 | {The fourth row is redundant for this specific case.}
| ^
checkRd: (-1) permucycle.Rd:41: Lost braces; missing escapes or markup?
41 | {One can read from the output of permucycle() to obtain cycle notation (13)(2) of the permutation, and other information.}
| ^- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 29
- Examples that run
- 100%29 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.2Latest2023-05-12 · current release
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-05-12
- Total releases
- 1 / 3 yrs
- License
- GPL (>= 2) OSI
- Download size
- 12 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("Tex4exams")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.