apply for big.matrix objects. Note that
the performance may be degraded (compared to apply with regular Rmatrices) because of S4 overhead associated with extracting data from
big.matrix objects. This sort of limitation is unavoidable and would
be the case (or even worse) with other "custom" data structures. Of course,
this would only be partically significant if you are applying over lengthy
rows or columns.