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

2011-04-21 Thread Massimiliano
Maybe you have to add #include #include to your C++ source code. Massimiliano Tripoli Il giorno mer, 20/04/2011 alle 22.06 +0200, Sascha Vieweg ha scritto: > #include > using namespace std; > void foo (double* x, double* y, double* out) > { > out[0] = x[0] + y[0]; > } > > _

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

2011-04-20 Thread Duncan Murdoch
On 20/04/2011 4:38 PM, Dirk Eddelbuettel wrote: On 20 April 2011 at 16:24, Duncan Murdoch wrote: | On 20/04/2011 4:06 PM, Sascha Vieweg wrote: |> Hello R experts |> |> I am googling and reading around, however, I can't get it working |> (perhaps because I do not understand much C, however, I'

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

2011-04-20 Thread Dirk Eddelbuettel
On 20 April 2011 at 16:24, Duncan Murdoch wrote: | On 20/04/2011 4:06 PM, Sascha Vieweg wrote: | > Hello R experts | > | > I am googling and reading around, however, I can't get it working | > (perhaps because I do not understand much C, however, I'll give it | > a try). I am trying to include C++

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

2011-04-20 Thread Duncan Murdoch
On 20/04/2011 4:06 PM, Sascha Vieweg wrote: Hello R experts I am googling and reading around, however, I can't get it working (perhaps because I do not understand much C, however, I'll give it a try). I am trying to include C++ code into an R routine, where the C++ code looks: #include using na

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

2011-04-20 Thread Sascha Vieweg
Hello R experts I am googling and reading around, however, I can't get it working (perhaps because I do not understand much C, however, I'll give it a try). I am trying to include C++ code into an R routine, where the C++ code looks: #include using namespace std; void foo (double* x, double