README.md

ExpRPkg

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++.

Required package

None * To install all the required packages, open R console

install.packages(c("devtools"))

library(devtools)
install_github("xiaoguang1988/ExpRPkg")

How to use this package

library(ExpRPkg)
square(4)
squareC(4)


Caleb-Huo/ExpRPkg documentation built on May 6, 2019, 9:27 a.m.