The RSP markup language makes any text-based document come alive. RSP provides a powerful markup for controlling the content and output of LaTeX, HTML, Markdown, AsciiDoc, Sweave and knitr documents (and more), e.g. 'Today's date is <%=Sys.Date()%>'. Contrary to many other literate programming languages, with RSP it is straightforward to loop over mixtures of code and text sections, e.g. in month-by-month summaries. RSP has also several preprocessing directives for incorporating static and dynamic contents of external files (local or online) among other things. Functions rstring() and rcat() make it easy to process RSP strings, rsource() sources an RSP file as it was an R script, while rfile() compiles it (even online) into its final output format, e.g. rfile('report.tex.rsp') generates 'report.pdf' and rfile('report.md.rsp') generates 'report.html'. RSP is ideal for self-contained scientific reports and R package vignettes. It's easy to use - if you know how to write an R script, you'll be up and running within minutes.
Version: | 0.46.0 |
Depends: | R (≥ 2.14.0) |
Imports: | methods, stats, tools, utils, R.methodsS3 (≥ 1.8.0), R.oo (≥ 1.23.0), R.utils, R.cache, digest |
Suggests: | tcltk, markdown, knitr, R.devices, base64enc, ascii |
Published: | 2024-02-17 |
DOI: | 10.32614/CRAN.package.R.rsp |
Author: | Henrik Bengtsson [aut, cre, cph] |
Maintainer: | Henrik Bengtsson <henrikb at braju.com> |
BugReports: | https://github.com/HenrikBengtsson/R.rsp/issues |
License: | LGPL-2.1 | LGPL-3 [expanded from: LGPL (≥ 2.1)] |
URL: | https://henrikbengtsson.github.io/R.rsp/, https://github.com/HenrikBengtsson/R.rsp |
NeedsCompilation: | no |
Materials: | NEWS |
In views: | ReproducibleResearch |
CRAN checks: | R.rsp results |
Package source: | R.rsp_0.46.0.tar.gz |
Windows binaries: | r-devel: R.rsp_0.46.0.zip, r-release: R.rsp_0.46.0.zip, r-oldrel: R.rsp_0.46.0.zip |
macOS binaries: | r-release (arm64): R.rsp_0.46.0.tgz, r-oldrel (arm64): R.rsp_0.46.0.tgz, r-release (x86_64): R.rsp_0.46.0.tgz, r-oldrel (x86_64): R.rsp_0.46.0.tgz |
Old sources: | R.rsp archive |
Please use the canonical form https://CRAN.R-project.org/package=R.rsp to link to this page.