[R] is.variable ? is.initialized ?
Rolf Turner
r.turner at auckland.ac.nz
Fri May 15 01:41:44 CEST 2009
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}}
More information about the R-help
mailing list