title: function similar to head() for matrix
body: <p>I am looking for a function in any package that can print matrix[1:5, 1:5]. <code>head()</code> is good for those that have few columns but not for a large matrix. I know I can create my own function for it but I am wondering if there is a function for it already. </p>