Re: [Rd] Registering native routines

2013-02-25 Thread Terry Therneau
That was the correct direction: I changed the earler line to "routines <- list(Ccoxfit5a, ..." and the the later to .C(routnines[[1]]) and now it works as desired. Terry T. On 02/23/2013 03:09 AM, Duncan Murdoch wrote: On 13-02-22 2:59 PM, Terry Therneau wrote: I'm working on registering all

Re: [Rd] Registering native routines

2013-02-23 Thread Duncan Murdoch
On 13-02-22 2:59 PM, Terry Therneau wrote: I'm working on registering all the routines in the survival package, per a request from R-core. Two questions: 1. In the coxph routine I have this type of structure: if (survival has 2 columns) routines <- c("coxfit5_a", "coxfit5_b", "coxfit5_

[Rd] Registering native routines

2013-02-22 Thread Terry Therneau
I'm working on registering all the routines in the survival package, per a request from R-core. Two questions: 1. In the coxph routine I have this type of structure: if (survival has 2 columns) routines <- c("coxfit5_a", "coxfit5_b", "coxfit5_c") else routines