Skip to content
Prev 26087 / 63424 Next

[Fwd: buglet (?) in de.restore()]

On 9/10/2007 8:47 AM, Ben Bolker wrote:
I think a bug report is in order.
The glib answer for the first result is that it's because it's 
documented that way.  I guess it's so that you can distinguish simple 
vectors from matrices or other more complex objects.

As to the second, you're testing whether A inherits from the class 
"vector", i.e. indexing works on it.  Most things in R inherit from 
class vector, so that comes out TRUE.  (Things that don't:  NULL, 
environments, some other special stuff.)

Duncan Murdoch