Sam Steingold
2012-Feb-27 21:49 UTC
[R] Note: no visible binding for global variable 'Dimnames'
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.