A simple package to perform square function. This function also calls C++. The package serves as a simplest example for making R package calling C++.
None * To install all the required packages, open R console
install.packages(c("devtools"))
library(devtools)
install_github("xiaoguang1988/ExpRPkg")
library(ExpRPkg)
square(4)
squareC(4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.