Skip to content
Prev 24682 / 63424 Next

no visible binding for global variable

On Tue, 17 Apr 2007, Robin Hankin wrote:

            
Do you have _R_CHECK_USE_CODETOOLS_ set to something true (and for 2.4.1, 
codetools installed)?  See `Writing R Extensions'.
If the arguments of outer() were evaluated in the frame of hypercube, 
there is no visible object 'f'.  So if 'wrapper' actually made use of its 
'my.fun' argument, this would fail.  As it is, lazy evaluation postpones 
the error (for ever).

Try removing the unused argument from wrapper(), and running the same 
test that Kurt did before and after.

BTW, it looks like updating one of your packages has broken another 
(untb).