Re: [R] Include C++ DLL, error in ...: C symbol name not in load table

From: Massimiliano <massimiliano.tripoli_at_gmail.com>
Date: Thu, 21 Apr 2011 21:05:53 +0200

Maybe you have to add

#include <stdio.h>
#include <R.h>

to your C++ source code.

Massimiliano Tripoli
Il giorno mer, 20/04/2011 alle 22.06 +0200, Sascha Vieweg ha scritto:
> #include <iostream>
> using namespace std;
> void foo (double* x, double* y, double* out)
> {
> out[0] = x[0] + y[0];
> }
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 21 Apr 2011 - 19:52:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Apr 2011 - 20:00:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive