Skip to content
port of ITK to R
Branch: master
Clone or download
Latest commit 80e00f9 May 1, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
R fixing flags for itk Jan 29, 2019
data DOC: Update version May 1, 2019
docs Set theme jekyll-theme-minimal May 12, 2018
inst/include COMP: add dummy include in case we want to put includes there Mar 18, 2015
man reverted configure Jun 16, 2017
src make only has 1 thread Aug 9, 2018
.Rbuildignore added to the pkgdown for silly note Aug 9, 2018
.gitignore removed history Oct 8, 2018
ITKR.Rproj adding Rcpp import Jun 16, 2017
NAMESPACE DOC: pkgdown results May 12, 2018
_pkgdown.yml added to the pkgdown for silly note Aug 9, 2018
appveyor.yml trying to remove build section Sep 25, 2018
cleanup fixing makevars and csv Jun 16, 2017
configure COMP: eigen install dir fix from itk and muschellij2 Mar 10, 2019 updated commit for ITK with muschellij2 Feb 1, 2019


Build Status

muschellij2 badge: Build Status

ITKR provides R-based access to the Insight ToolKit (ITK) for medical image processing, registration and segmentation. ITKR installs this library in R style and provides user or developer access to its templated header files and libraries. Consequently, this is a core package on which it is expected that other packages will build functionality. Shout out to Bartlett Bears.

Basic documentation is here

One such package is ANTsR. A developer should be able to use this package as a guide for how they might wrap ITK themselves, within R. Primarily, one uses ITKR to manage the compilation of the dependent software's knowledge of ITK resources.

To install ITKR:

devtools::install_github( "stnava/ITKR" )

The primary result of this installation process is R-based access to the ITK library. The user or developer can identify the location of the ITK installation by performing:


which uses cat to report the install location. We use cat because it allows the developer simpler access to these variable names in Makefiles and other compilation-related scripts. If you want to store the variable within R:

itkinstalldir <- capture.output( ITKR::itkIncludes() )

This package is still an early development version.

You can’t perform that action at this time.