haslabels(x), x a variable that is not NULL. |
haslabels(x) is True if and only if variable x has coordinate labels. Example; Cmd> x <- yourMacro(y) Cmd> if (haslabels(y)){ x <- matrix(x,labels:structure("",getlabels(y,2)))} See topics 'labels', getlabels(). haslabels() is implemented as a pre-defined macro.