`[` <- function(...) base::`[`(...,drop=FALSE)
This should prevent some unwanted behavior in R, where a matrix that reduces to one row or one column will suddenly behave like c(number,number,number) instead of matrix(c(number,number,number),ncol=1)
source share