Skip to content
Prev 26648 / 398500 Next

Interfacing R and C++ under Windows

On Fri, 3 Jan 2003, Pijus Virketis wrote:

            
R expects of C++ and what Visual C++ does. So, while the simpler .C
technique can be used, the .Call approach does not work. What are we missing
here?

A real C++ compiler (and enough netiquette to wrap your lines).

Why are you using VC++ with R: it is most definitely not the recommended C
compiler?  Using standard C++ and the recommended compiler usually works,
modulo undefining symbols defined in windows.h or its dependencies.