Re: [Rd] how to get access to C++ Objects

2008-03-17 Thread Duncan Murdoch
On 3/17/2008 1:06 PM, Adrian Martínez Vargas wrote: > > > In the "Writing R Extensions" manual appears this example, to get access to > C++ function using the R commands: > > > > R> dyn.load(paste("X", .Platform$dynlib.ext, sep = "")) > > constructor Y > > R> .C("X_main") > > constructor

[Rd] how to get access to C++ Objects

2008-03-17 Thread Adrian Martínez Vargas
In the "Writing R Extensions" manual appears this example, to get access to C++ function using the R commands: R> dyn.load(paste("X", .Platform$dynlib.ext, sep = "")) constructor Y R> .C("X_main") constructor X destructor X list() That gives me access to the function "X_main", b