Re: [Rd] Passing externalptr to .C()

2012-05-17 Thread Prof Brian Ripley
On 16/05/2012 23:30, Rick Sayre wrote: Thanks very much for the quick reply. I'd like to avoid static state in the .so, which is why I'm using the opaque pointer. It is indeed possible to convert everything to .Call(), but the work seems unnecessary given that it used to work just fine and I am

Re: [Rd] Passing externalptr to .C()

2012-05-17 Thread Rick Sayre
Thanks very much for the quick reply. I'd like to avoid static state in the .so, which is why I'm using the opaque pointer. It is indeed possible to convert everything to .Call(), but the work seems unnecessary given that it used to work just fine and I am going out of my way to pass things with

Re: [Rd] Passing externalptr to .C()

2012-05-11 Thread Duncan Murdoch
On 12-05-11 5:20 PM, Rick Sayre wrote: Greetings. 2.15.0 added this behavior http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2012/03/29#n2012-03-29 o Passing R objects other than atomic vectors, functions, lists and environments to .C() is now deprecated and will give a wa