[R] Note: no visible binding for global variable 'Dimnames'
Sam Steingold
sds at gnu.org
Mon Feb 27 22:49:39 CET 2012
I get this (twice):
Note: no visible binding for global variable 'Dimnames'
Note: no visible binding for global variable 'Dimnames'
on the __first__ invocation of a function which does this:
sm <- sparseMatrix(i = ..., j = ..., x = ...)
for (i in 1:length(mynames))
usr[[mynames[i]]] <- sm[,i]
the Notes are printed when the usr<-sm assignment is evaluated for i==1.
(but not for any subsequent i's of subsequent calls to the function).
I seem to be getting the right results, so I have been ignoring these
messages, but I was wondering if I was doing something wrong.
(needless to say that I do not have the word "Dimnames" anywhere in my code)
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://dhimmi.com http://americancensorship.org
http://iris.org.il http://www.memritv.org http://jihadwatch.org
Stupidity, like virtue, is its own reward.
More information about the R-help
mailing list