Package: R.rsp 0.46.0
R.rsp: Dynamic Generation of Scientific Reports
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.
Authors:
R.rsp_0.46.0.tar.gz
R.rsp_0.46.0.zip(r-4.5)R.rsp_0.46.0.zip(r-4.4)R.rsp_0.46.0.zip(r-4.3)
R.rsp_0.46.0.tgz(r-4.4-any)R.rsp_0.46.0.tgz(r-4.3-any)
R.rsp_0.46.0.tar.gz(r-4.5-noble)R.rsp_0.46.0.tar.gz(r-4.4-noble)
R.rsp_0.46.0.tgz(r-4.4-emscripten)R.rsp_0.46.0.tgz(r-4.3-emscripten)
R.rsp.pdf |R.rsp.html✨
R.rsp/json (API)
NEWS
# Install 'R.rsp' in R: |
install.packages('R.rsp', repos = c('https://henrikbengtsson.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/henrikbengtsson/r.rsp/issues
documentmarkupreportreproducibilityscience
Last updated 7 months agofrom:82055c2afc (on master). Checks:ERROR: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Aug 15 2024 |
R-4.5-win | WARNING | Aug 15 2024 |
R-4.5-linux | WARNING | Aug 15 2024 |
R-4.4-win | WARNING | Aug 15 2024 |
R-4.4-mac | WARNING | Aug 15 2024 |
R-4.3-win | WARNING | Aug 15 2024 |
R-4.3-mac | WARNING | Aug 15 2024 |
Exports:appendRootPathsasisTangleasisWeaveasRspStringbrowseRspbuildNonSweaveTexToPdfbuildNonSweaveVignettebuildNonSweaveVignettesbuildPkgIndexHtmlcapabilitiesOfcompileAsciiDoccompileAsciiDocNowebcompileKnitrcompileLaTeXcompileMarkdowncompileRnwcompileRspcompileSweavedropEmptyTextdvipsescapeescapeRspContentescapeRspTagsexprToCodeextensionToIMTFileRspResponsefindAsciiDocfindPandocfindProcessorflattengetCodegetCommentgetCompleteCodegetConfiggetContentgetContentLengthgetContentTypegetContextPathgetCountgetDateHeadergetDefaultFilenamePatterngetEchogetFilegetFileSizegetHeadergetHttpRequestgetIncludegetItemgetLanguagegetMetadatagetNameContentDefaultAttributesgetNewlinegetOutputgetParametergetParametersgetPortgetProtocolgetQueryStringgetRealPathgetRemoteAddressgetRemoteHostgetRemoteUsergetRequestUrigetRequestUrlgetRootPathsgetSchemegetServerNamegetServerPortgetServletPathgetSuffixSpecsgetTypegetVerbatimgetWraphasAttributehasParameterhasProcessorHtmlRspLanguageHttpDaemonHttpDaemonRspResponseHttpRequestindexOfNonQuotedinsertRootPathsisCapableOfisStartedlemakeSourceCodemergeTextsnbrOfLinesnbrOfParametersopenUrlparseCodeparseCutNPasteDirectivesparseDirectiveparseDocumentparseExpressionparseIfElseDirectivesparseInternetMediaTypeparseRawparseVignetteparseVignettespreprocessprocessprocessRspps2pdfR.rsprargsrcatrcleanrcodercompilerequireAttributesrestartrfileRRspPackagersourceRspCodeRspCodeChunkRspCommentRspConstructRspCopyDirectiveRspCutDirectiveRspDirectiveRspDocumentRspElseDirectiveRspEndcopyDirectiveRspEndcutDirectiveRspEndifDirectiveRspErrorDirectiveRspEvalDirectiveRspExceptionRspExpressionRspFileProductRspIfdefDirectiveRspIfDirectiveRspIfeqDirectiveRspIfndefDirectiveRspIfneqDirectiveRspIncludeDirectiveRspIntegerDirectiveRspLanguageRspLogicalDirectiveRspMetaDirectiveRspNumericDirectiveRspObjectRspPageRspPageDirectiveRspParseExceptionRspParserRspPasteDirectiveRspPreprocessingExceptionRspProductRspResponseRspRSourceCodeRspRSourceCodeFactoryRspShSourceCodeRspShSourceCodeFactoryRspSourceCodeRspSourceCodeFactoryRspStringRspStringDirectiveRspStringProductrspTangleRspTextRspUnknownDirectiveRspUnparsedDirectiveRspUnparsedExpressionRspVariableDirectiveRspVoidrspWeaverstringsetAttributesetAttributessetCountsetMetadatasetRootPathssourceTclsourceWithTrimsplitUrlstartHelptangleterminatetidytoRtoSourceCodetrimNonTexttypeOfRnwunescapeRspTagsviewwriteResponsewstring
Dependencies:digestR.cacheR.methodsS3R.ooR.utils
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Package R.rsp | R.rsp-package R.rsp |
Evaluates an RSP string and outputs the generated string | rcat rcat.default rcat.expression rcat.function rcat.RspDocument rcat.RspRSourceCode rcat.RspString rsource rsource.default rsource.expression rsource.function rsource.RspDocument rsource.RspRSourceCode rsource.RspString |
Evaluates and postprocesses an RSP document and outputs the final RSP document file | rfile rfile.default rfile.expression rfile.function rfile.RspDocument rfile.RspRSourceCode rfile.RspShSourceCode rfile.RspString |
Evaluates an RSP string and returns the generated string | rstring rstring.default rstring.expression rstring.function rstring.RspDocument rstring.RspSourceCode rstring.RspString |