Re: [Rd] PROTECT help

2012-03-27 Thread Terry Therneau
Brian & Duncan: Thanks. This was exactly what I needed to know. Terry On 03/27/2012 08:41 AM, Prof Brian Ripley wrote: On 27/03/2012 14:22, Terry Therneau wrote: I received the following note this AM. The problem is, I'm not quite sure how to fix it. Can one use PROTECT(coxlist(eval(PROTEC

Re: [Rd] PROTECT help

2012-03-27 Thread Duncan Murdoch
On 12-03-27 9:22 AM, Terry Therneau wrote: I received the following note this AM. The problem is, I'm not quite sure how to fix it. Can one use PROTECT(coxlist(eval(PROTECT , do I create an intermediate variable, or otherwise? I think both would work. The usual style in R sources is to us

Re: [Rd] PROTECT help

2012-03-27 Thread Prof Brian Ripley
On 27/03/2012 14:22, Terry Therneau wrote: I received the following note this AM. The problem is, I'm not quite sure how to fix it. Can one use PROTECT(coxlist(eval(PROTECT , do I create an intermediate variable, or otherwise? You can, but I find it easiest to follow if you create an interm