Displaying 1 result from an estimated 1 matches for "01676f7c".
2006 Feb 16
2
Problem with scoping a variable value
...g to show intermediate results.
Interestingly enough, I have downloaded a package recently which defines
the show variable as a function:
> show
standardGeneric for "show" defined from package "methods"
function (object)
standardGeneric("show")
<environment: 01676F7C>
Methods may be defined for arguments: object
>
Now, all of a sudden, the function I had defined earlier is scoping up
to this new value, and is thus not working:
> richardson.grad(function(x) x^2,2)
Error in if (show) { : argument is not interpretable as logical
>
I could alway...