RcppSimpleITK is an R-package using the C++ interface of SimpleITK (using Rcpp) to overcome the slow for loops in R.
At the moment only Linux is supported, also OSX should work as well.
If you build SimpleITK as root with CMAKE_INSTALL_PREFIX=/usr/local
, you can build the package globally and skip passing the args below.
Run the following command in R:
require(devtools)
install_github("zarquon42b/RcppSimpleITK", args="--configure-args=-DSimpleITK_DIR=path_to_your_SimpleITK_install_dir")
On my machine, the argument would be
install_github("zarquon42b/RcppSimpleITK",args="--configure-args=-DSimpleITK_DIR=/home/schlager/GIT/DEV/SimpleITK-build/SimpleITK-build/")
Get the source, either by cloning this repo or downloading the tarball and then issueing in a terminal
R CMD INSTALL --configure-args="-DSimpleITK_DIR=path_to_your_SimpleITK_install_dir" RcppSimpleITK[*.tar.gz]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.