Re: [Rd] invalid body argument for function

2011-07-08 Thread peter dalgaard
On Jul 9, 2011, at 00:17 , Michael Lawrence wrote: > On Thu, Jun 30, 2011 at 9:35 AM, Duncan Murdoch > wrote: > >> On 29/06/2011 9:09 PM, Michael Lawrence wrote: >> >>> Hi guys, >>> >>> Looks like mkCLOSXP cannot handle external pointers as the function body. >>> Work around is obvious, but I

Re: [Rd] invalid body argument for function

2011-07-08 Thread Michael Lawrence
On Thu, Jun 30, 2011 at 9:35 AM, Duncan Murdoch wrote: > On 29/06/2011 9:09 PM, Michael Lawrence wrote: > >> Hi guys, >> >> Looks like mkCLOSXP cannot handle external pointers as the function body. >> Work around is obvious, but I guess it's a bug nonetheless. >> > > I don't know if it's a bug. T

Re: [Rd] invalid body argument for function

2011-06-30 Thread Duncan Murdoch
On 29/06/2011 9:09 PM, Michael Lawrence wrote: Hi guys, Looks like mkCLOSXP cannot handle external pointers as the function body. Work around is obvious, but I guess it's a bug nonetheless. I don't know if it's a bug. The mkCLOSXP code has a list of types that it accepts; external pointers a