Wacek Kusnierczyk wrote:
> interestingly,
>
> c(1, as.raw(1))
> # error: type 'raw' is unimplemented in 'RealAnswer'
>
>
three more comments.
(1)
the above is interesting in the light of what ?c says:
"
The output type is determined from the highest type of the
components in the
i wonder about the following examples showing incoherence in how type
conversions are done in r:
x = TRUE
x[2] = as.raw(1)
# Error in x[2] = as.raw(1) :
# incompatible types (from raw to logical) in subassignment type fix
it seems that there is an attempt to coerce the raw value
2 matches
Mail list logo