[R] R Interface handholding

2003-12-09 Thread Pat Gunn
Hello, I need a bit of handholding with R, specifically, with writing packages for it. I'm a systems programmer, and am, on the request of several users of our software, working on generating R interfaces. For starters, I've written the following R function (which compiles): SEXP myincr(SEXP

Re: [R] R Interface handholding

2003-12-09 Thread Douglas Bates
I'm not sure exactly what you want to do but it seems you are going about it in an overly complicated way. If you are going to build a package you just need to put a NAMESPACE file at the top level and include a useDynLib specification or write a short R function called .First.Lib that calls