Skip to content
Prev 24257 / 63424 Next

Rinternals.h and undefined symbols

Note though that you should include C header files inside extern "C" in 
your C++ code.  'Writing R Extensions' says

   Some @R{} header files are C and not C++ header files and should be
   included within an @code{extern "C"} block: for clarity this is
   advisable for all @R{} header files.
On Mon, 19 Mar 2007, Duncan Murdoch wrote: