<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,<br><br>This is really great there is so much interested in this! I am quite surprised at how popular R is.<br><br>A summary of the state of SimpleITK and R:<br><br>SimpleITK is rapidly progressing with it's typeless image layer and procedural or object oriented interface to ITK. This approach make the interface free from templates, and follows the principle of encapsulation of the lower level ITK api. This makes wrapping the interface with SWIG fairly trivial, and R is a language that swig supports.<br><br>To enable SimpleITK with R, you should disable all other wrapping languages, and just enable WRAP_R. I have hacked together a couple of changes I needed to get the R tests to run: <a href="http://review.source.kitware.com/#/c/3735/">http://review.source.kitware.com/#/c/3735/</a><br><br>To load SimpleITK into R you need to run something like the following:<br><br><span class="Apple-tab-span" style="white-space: pre; ">        </span>dyn.load( file.path( "/scratch/blowekamp/build/SimpleITK/lib", paste("SimpleITK", ".so", sep="") ) )<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>source( file.path( "/scratch/blowekamp/build/SimpleITK/SimpleITK-build/Wrapping", "SimpleITK.R" ) )<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>cacheMetaData(1)<br><br>There has been very little customization done for R so we are likely not meeting many standard conventions. And packaging for R is rather problematic in the latest version.<br><br>Machine performing nightly build with R are very much appreciated:<br><a href="http://www.itk.org/SimpleITKDoxygen/html/Developer.html">http://www.itk.org/SimpleITKDoxygen/html/Developer.html</a><br><br>Good luck,<br>Brad<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space"> </span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">blowekamp@mail.nih.gov</font></p><br class="Apple-interchange-newline"></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></body></html>