Re: [Rd] wishlist -- names gives slotnames (PR#7410)

From: <>
Date: Sat 11 Dec 2004 - 03:49:02 EST

>Thank you for your thoughts,..
> ``As with everything, use str() ''

I agree that there is no substitute for str() for finding out about an object when you're stuck. But I always thought the idea was the user didn't need to know what the object was, the same basic functions gave some kind of reasonable result. So it's counterintuitive to have to learn/find new functions that, at least from the user's point of view, do the same thing.

>--- but you need at least R 2.0.0; your R 1.9.1 is too old for
> this (and probably, in general for posting to R-bugs !)

I poked around on 2.0.1 and it seemed the same with regard to names(), though I hadn't noticed the new str() functionality for slots. Sorry for posting; I'll avoid it in the future.

Elizabeth mailing list Received on Sat Dec 11 03:57:35 2004

This archive was generated by hypermail 2.1.8 : Sat 11 Dec 2004 - 04:33:38 EST