[R] Generating R wrapper for C++ code.

M.Kondrin mkondrin at hppi.troitsk.ru
Sat Nov 27 15:53:21 CET 2004


Hello!
I have an intention of making a R-wrapper for VTK library ( 
www.kitware.com ). The libray itself is quite extensive  so write an R/C 
code for the  wrapper by hand seems to be impossible. VTK library has 
automatically generated wrappers for Python and Tcl so generating code 
for just another language would not be hard. The question is - what tool 
I should use for that? There is a SWIG tool, but using it means I have 
to insert wrappers for R into it. Another possibility is using 
RGccTranscript from Omegahat (but it looks to me it is suitable only for 
interfacing C-code - not C++ one). Is there an example of building 
generators of R code from C++ source? If someone has it, would not you 
share it, please?




More information about the R-help mailing list