search for: x0_

Displaying 1 result from an estimated 1 matches for "x0_".

Did you mean: x00
2003 Feb 27
0
unwanted coercion of length 0 vectors (PR#2587)
...; x1 [1] NA test> mode( x1) [1] "numeric" No coercion was required because 'logical' (the default mode of NA) is "ancestral" to 'numeric'. Note also that assigning to a hitherto non-existent element of x1, e.g. x1[2]_ NA, also does not coerce. But: test> x0_ numeric( 0) test> x0[1]_ NA test> mode( x0) [1] "logical" Similar things happen with vectors of mode 'complex' and even 'character': test> xc0_ complex( 0) test> xc0[1]_ 3 test> mode( xc0) [1] "numeric" # should be 'complex' test> xch...