Re: [Rd] [patch] Behavior of .C() and .Fortran() when given double(0) or integer(0).

From: Pavel N. Krivitsky <>
Date: Sun, 01 Jul 2012 17:17:13 -0400

On Sat, 2012-05-26 at 14:15 -0500, Dirk Eddelbuettel wrote:
> On 26 May 2012 at 14:00, Simon Urbanek wrote:
> | [...] the real answer is use .Call() instead.
> Maybe Kurt could add something to that extent to the R FAQ ?

Since it looks like the 0-length -> invalid pointer behavior is here to stay, I want to second this request. It had taken me a long time to track mysterious behavior of my package down to this issue, and I think it would be helpful for developers in the future to have some documented behavior, even if the documentation said that the behavior was undefined.

                      Pavel Krivitsky

______________________________________________ mailing list Received on Sun 01 Jul 2012 - 21:27:02 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jul 2012 - 16:30:30 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive