Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
Terry, I think I don't quite follow what you want to do. You have a package that needs to access the R level functions in another, or the C level functions? Do you need access *from R* for the above, or *from new C code*? If you are just looking to call .Call("other_package", ...) I think your

Re: [Rd] inheriting C symbols

2009-08-05 Thread Terry Therneau
Thanks for the information. I'd looked through the manual but missed this. Follow-up questions 1. I'd never paid much attention to that whole "register routines" section of the manual because a) it didn't seem necessary (my code worked anyway) and b) it's quite complex. Your answer is that if I

Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
This has been discussed before: http://www.nabble.com/Dynamic-linking-to-binary-code-from-other-packages---td20167535.html#a20474561 Take a look at 'xts' on cran, or R-forge. Specifically: http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/inst/api_example/README?rev=386&root=xts&view=