On 15/05/2009, at 11:34 AM, myshare wrote:

thanx, I forgot something how then do you check if u have something like this :

exists("xxx$array")

this does not seem to work !!

Of course not.

I don't think what you want is built in.  But you can easily
cobble something together:

        !is.na(match("array",names(xxx)))

will do it, I think.  (Not tested.)

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to