See ?dim, ?nrow, ?ncol. MeMooMeM wrote: > Hi, > > Is there a direct command to get the row and col length of a matrix? > > My ugly solution is: length(mtx[,1]) and length(bcf[1,]) > > Thanks! >