All Projects → coatless-api-docs → rcpp-api

coatless-api-docs / rcpp-api

Licence: other
Source for the Unofficial Rcpp API Documentation

Projects that are alternatives of or similar to rcpp-api

epoxy
Extra-strength glue engines for R Markdown and Quarto
Stars: ✭ 141 (+235.71%)
Mutual labels:  rmarkdown
rcpparrayfire
R and ArrayFire library via Rcpp
Stars: ✭ 17 (-59.52%)
Mutual labels:  rcpp
uiucthemes
RMarkdown Templates for UIUC Theme-Oriented Documents
Stars: ✭ 45 (+7.14%)
Mutual labels:  rmarkdown
hashmap
Faster hash maps in R
Stars: ✭ 72 (+71.43%)
Mutual labels:  rcpp
vembedr
Functions to Embed Video in HTML
Stars: ✭ 56 (+33.33%)
Mutual labels:  rmarkdown
youngmetro
R Markdown Beamer Theme Based on sthlm, HSRM, and Metropolis themes
Stars: ✭ 14 (-66.67%)
Mutual labels:  rmarkdown
rcppfastfloat
Rcpp Bindings for the 'fastfloat' Header-Only Library
Stars: ✭ 18 (-57.14%)
Mutual labels:  rcpp
imprint
Create Customized 'ggplot2' and 'R Markdown' Themes for Your Organization
Stars: ✭ 24 (-42.86%)
Mutual labels:  rmarkdown
fabricerin
Create Easily Canvas in Shiny and RMarkdown Documents
Stars: ✭ 52 (+23.81%)
Mutual labels:  rmarkdown
xaringan slides
📺 Links to HTML5 presentations made using the R package {xaringan}.
Stars: ✭ 20 (-52.38%)
Mutual labels:  rmarkdown
yart
RMarkdown Template for writing PDF reports
Stars: ✭ 81 (+92.86%)
Mutual labels:  rmarkdown
RcppXPtrUtils
XPtr Add-Ons for 'Rcpp'
Stars: ✭ 17 (-59.52%)
Mutual labels:  rcpp
Reproducibilidad
Reproducible Science: what, why, how
Stars: ✭ 39 (-7.14%)
Mutual labels:  rmarkdown
flipdownr
📆📆📆 Implement a Countdown in RMarkdown Documents and Shiny Applications
Stars: ✭ 30 (-28.57%)
Mutual labels:  rmarkdown
fossos
seminar series on data science, reproducible science and open source by @maxheld83
Stars: ✭ 13 (-69.05%)
Mutual labels:  rmarkdown
rmarkdown-workshop
A workshop format for rmarkdown. Releases contain locations in chronological order
Stars: ✭ 27 (-35.71%)
Mutual labels:  rmarkdown
RcppMeCab
RcppMeCab: Rcpp Interface of CJK Morpheme Analyzer MeCab
Stars: ✭ 24 (-42.86%)
Mutual labels:  rcpp
ReproducibleScience
Short course on reproducible science: what, why, how
Stars: ✭ 23 (-45.24%)
Mutual labels:  rmarkdown
armcompanion
Companion materials for the rstudio::conf 2019 Advanced R Markdown workshop
Stars: ✭ 15 (-64.29%)
Mutual labels:  rmarkdown
bubblyr
☁️ ☁️ ☁️ Beautiful Bubbles in Shiny and RMarkdown Backgrounds
Stars: ✭ 16 (-61.9%)
Mutual labels:  rmarkdown

Rcpp API Documentation (rcpp-api)

This repository contains the Rcpp API documentation project. The project is rooted in providing a much needed face lift to working with one of the most popular ways to augment R with C++.

Goal

Provide documentation that lists, describes, and provides an example of each known Rcpp data type and function alongside best practices. The documentation should be ready for inclusion within Rcpp 1.x.0 scheduled for release in January 2018.

Style

The main style for this documentation will mimic the Armadillo documentation that involves first listing the different data structures before detailing class methods and overall function uses.

Each section should contain:

  • Name of data type or function
  • Comment as to what arguments are accepted
  • Notes related to any limitations or C++ specific difference (e.g. 20 parameters for ::create())
  • Examples that are written as if they are embedded within a function or main alongside their expected output in comment form
    • Vectors or matrices should be written in uppercase and follow a logical alphabetic naming progression (e.g. A, B = 2*A)
    • Scalar should be written in lowercase (e.g. summed, val_summed)

The following sample echoes the above tenets

```
### sum( X ) {#sum}

- Compute the overall summation of all elements.

- Supported types are `Numeric`, `Integer`, or `Logical` in a `Vector` or `Matrix`. 

- Examples:

```cpp
// Sample data
NumericVector X = NumericVector::create(3.2, 8.1, 9.5, 8.6, 5.7);

double val_sum = sum(X);
// Output: 35.1
```

- See also:
    - [rowSums](#rowSums)
    - [colSums](#colSums)

Functions that share common features such as the trigonometric and probability distribution functions should be grouped together under a common banner to decrease repeative entries. The name of the entry should be [subject](#subject-ref-tag) to allow for "See also" links and inclusion in the Table of Contents.

Contributing

To contribute, please submit a Pull Request (PR) with the desired documentation change.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].