Hello,
I'm not sure how to go about this. Suppose I have a function

SEXP boo(SEXP x){
//do something
}

Also, I have an executable which embeds R in itself. I would like to provide
a R function to user code to call that calls 'boo' e.g

##user supplied expression that is given to me

x<-1
boo(x)

One way is to create a library with function boo that performs .Call to boo,
but is there a way that I can do something like

ainstall("rboo", boo)

and calls to rboo in the language will be sent to 'boo' ?

Thank you
Saptarshi



Saptarshi Guha

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to