Thank you for all your answers, this really helped me out. I've been
digging into scoping rules in R and although I'm going to need quite
some more studying to fully grasp it, I do see where the errors come
from.
Thanks again.
@Erik : I know that some_value was not declared. I just gave some
pseu
One of the complaints in your stackoverlow references
concerned doBy::transformBy and the error message came
from eval(). Using eval() means you are throwing the
usual scoping rules out the window and making up some
new ones. Using a non-core package means you are at
the mercy of its writer.
In
On 01/10/2010 12:00 PM, Joris Meys wrote:
Dear,
I'm following the r tag on stackoverflow.com, and couldn't but notice
there are quite some questions popping up that deal with scoping in
relation to custom functions. I grinded my teeth on it already, and I
have absolutely no clue what goes wrong
Joris Meys wrote:
Dear,
I'm following the r tag on stackoverflow.com, and couldn't but notice
there are quite some questions popping up that deal with scoping in
relation to custom functions. I grinded my teeth on it already, and I
have absolutely no clue what goes wrong. The general pattern i