Skip to content

No Visible Binding for global variable

3 messages · Doran, Harold, William Dunlap, Duncan Murdoch

#
The code in the codetools package does not know
that subset() does not evaluate its second argument
in the standard way.  Hence it gives a false alarm
here.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
#
On 11/16/2009 1:54 PM, William Dunlap wrote:
Right.  And if you want to keep it quiet, something like

Zobs <- NULL # to satisfy codetools

near the start of the function should work.

Duncan Murdoch