On Wed, 6 Aug 2008, milton ruser wrote:
Try this
foo1 = function(val)
{
return(d[val])
}
foo1("x")
Thanks for the suggestion. I appreciate it. My original question wasn't
just a pragmatic "how do I do this" type question. I was also wondering
about the language issues involved.
Take care, Faheem.
______________________________________________
[email protected] 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.