Package 'rmdTemplates'

Title: A collection of Rmarkdown templates
Description: A collection of Rmarkdown templates for writing scientific manuscripts, manuscript reviews, Beamer slides (metropolis theme), xaringan slides, and other Rmarkdown documents, with support for cross-references, citations and different bibliography styles.
Authors: F. Rodriguez-Sanchez <[email protected]>.
Maintainer: F. Rodriguez-Sanchez <[email protected]>
License: CC0
Version: 0.11.0
Built: 2024-11-15 04:07:28 UTC
Source: https://github.com/Pakillo/rmdTemplates

Help Index


Embed R data in HTML file

Description

This function generates HTML code to encode an RData/rda file within the HTML file.

Usage

embed_data_html(dataset, textHTML = "Click here to download the data")

Arguments

dataset

Character (required). Name of the dataset (RData or rda file) to be embedded in the HTML file (skipping the extension, i.e. rda or Rdata). Must be included within quotes.

textHTML

Character (optional). Text to be shown in the download link.

Author(s)

Richard Morey, slightly modified by F. Rodriguez-Sanchez.

Source

http://bayesfactor.blogspot.com.es/2014/09/embedding-rdata-files-in-rmarkdown.html


Embed Rmarkdown source code in the output HTML file.

Description

This function generates HTML code to encode the Rmarkdown source code within the output HTML file.

Usage

embed_rmd_html(file)

Arguments

file

Character. Name of the Rmarkdown source file (within quotes), e.g. 'myreport.Rmd'

Author(s)

Ramnath Vaidyanathan, slightly modified by F. Rodriguez-Sanchez.

Source

http://rpubs.com/ramnathv/including_rmd_source


Generate certificates

Description

Automatically generate personal PDF certificates from an Rmarkdown parameterized template and a vector of people names.

Usage

generate_certificates(names = NULL, rmd = NULL, outdir = "certificates")

Arguments

names

A character vector of people names

rmd

Path to an Rmarkdown parameterized document.

outdir

Output directory where individual certificates will be saved

Value

One or many PDF files with individual certificates


A collection of Rmarkdown templates

Description

A collection of Rmarkdown templates. Include helpful defaults for knitr options, as well as support for citations and different bibliography styles.

Details

After installing the package, click on 'create new Rmarkdown document' in Rstudio to have access to the templates. See http://rmarkdown.rstudio.com/developer_document_templates.html for more information.

Author(s)

F. Rodriguez-Sanchez [email protected]