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
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