The aim of this vignette is:
Illustrate how vignettes can be written using R markdown.
Show the structure of vignettes in the R packaging system.
Show how vignettes are compiled.
Give a short example on the use of the sumR package.
The function in the sumR compute the sum of two numbers using different
programming approaches:
sumR uses an R function to compute the sum.
sumRC uses the .C interface to compute the sum using C code.
sumRCall uses the .Call interface to compute the sum using C code.
[comment]: # * sumRRcpp uses Rcppto call C++ code to compute the sum.
library(sumR) sumR(1, 2) sumRC(1, 2) sumRCall(1,2) #sumRRcpp(1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.