Hi
I plan to use the Rmetrics package in a software tool for risk management
written in C.
I have some questions regarding embedding R:
1) Can someone elaborate more on R_tryEval?
a) I was looking at the Rpackage.c example under the testing/Embedding
folder. I vaguely understood that R_tryEval is used to interactively call R
commands and invoke a package. I'm still not clear on how one should exactly
go about doing this. What parameters doest R_tryEval take and what is it
actually trying to do?
2) How can I convert C data types into R data types?
a) I plan to write wrapper functions which take in parameters as doubles or
ints. How do I put them into a SEXPREC?
b) Also how do I get back the results of the R commands from R_tryEval into
regular C data types like int, float, double?
3) On Windows, how can I bundle Rmetrics along with my application? What
DLLs am I looking at bundling and where should they be located?
Thanks
Abhijit
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel