Hi
I recently found a bug that was isomorphic to the following:
ll1 <- 2
increment <- function(x)
{
l11 <- 1
return(x+ll1) #bug here
}
Of course, R is obeying the scoping rules just fine, but I'm evidently
not setting the do.what.I.mean.not.what.I.say variable correctly.
Now, how do I avoid making this type of error? ... and what is the
best tool for tracking it down?
--
Robin Hankin, Lecturer,
School of Geography and Environmental Science
Tamaki Campus
Private Bag 92019 Auckland
New Zealand
[EMAIL PROTECTED]
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help