Hi,
t - list(cat=1)
exists(t)
[1] TRUE
exists(t[[cat]])
Error: unexpected symbol in exists(t[[cat
exists(t[[\cat\]])
[1] FALSE
Thanks
Stanley
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
On Apr 15, 2008, at 9:53 PM, Ng Stanley wrote:
Hi,
t - list(cat=1)
exists(t)
[1] TRUE
exists(t[[cat]])
Error: unexpected symbol in exists(t[[cat
exists(t[[\cat\]])
[1] FALSE
Perhaps what you want is:
cat %in% names(t)
Thanks
Stanley
Haris Skiadas
Department of Mathematics and
2 matches
Mail list logo