Prof Brian Ripley wrote:
> An R NULL does not map to a C NULL.
>
> Please learn to distinguish documented facts from uninformed guesswork.
Any probably it should be added that users should not look at
Rinternals.h, because they will find things like NILSXP that are
defined to be 0 (C NULL).
__
An R NULL does not map to a C NULL.
Please learn to distinguish documented facts from uninformed guesswork.
On Tue, 25 Oct 2005, Dominick Samperi wrote:
> Prof Brian Ripley wrote:
>> This is nothing to do with the C API: isVector and isMatrix are not
>> part of the API (see Writing R Extensions
Prof Brian Ripley wrote:
> This is nothing to do with the C API: isVector and isMatrix are not
> part of the API (see Writing R Extensions for what it is). That's the
> `issue' here.
>
> On Tue, 25 Oct 2005, Dominick Samperi wrote:
>
>> Consider the R code:
>> mat <- matrix(seq(1,20),4,5)
>> is.
Prof Brian Ripley wrote:
> This is nothing to do with the C API: isVector and isMatrix are not
> part of the API (see Writing R Extensions for what it is). That's the
> `issue' here.
>
> On Tue, 25 Oct 2005, Dominick Samperi wrote:
>
>> Consider the R code:
>> mat <- matrix(seq(1,20),4,5)
>> is.
This is nothing to do with the C API: isVector and isMatrix are not part
of the API (see Writing R Extensions for what it is). That's the `issue'
here.
On Tue, 25 Oct 2005, Dominick Samperi wrote:
> Consider the R code:
> mat <- matrix(seq(1,20),4,5)
> is.matrix(mat) # gives TRUE
> is.vector(m