compiler/platform?
I did this:
R CMD SHLIB helloworld.cpp
Then this in R:
> dyn.load("helloworld.so")
> .Call("helloworld")
and it doesn't segfault. (x86_64 linux with 32-bit R).
Tom McCallum wrote:
> Hi everyone,
>
> I have been attempting to build a very simple R package interfacing with
On Tue, 12 Sep 2006, Tom McCallum wrote:
> Hi everyone,
>
> I have been attempting to build a very simple R package interfacing with
> some very simple C++ code. Everything I try though results in the
> function working but on return it produces a memory error. Here is the
> output:
>
>
Hi everyone,
I have been attempting to build a very simple R package interfacing with
some very simple C++ code. Everything I try though results in the
function working but on return it produces a memory error. Here is the
output:
***OUTPUT***
> library(My