[Rd] matrix name

mel mel at altk.com
Sat Aug 9 18:34:09 CEST 2008


Presently, we are able to add additionnal info to a matrix
thanks to the nice comment() and attr() functions.
Maybe I miss some other functions ?

Since there is a always a little remaining place on the
top left when one print a matrix,
I was wondering if it won't be interesting to offer the
possibility to show some information here,

I'm thinking on something like :

 > attr(M, 'topleft') = 'city\prms';
 > M
city\prms      a    b    c
seattle        1    3    5
vancouver      2    4    6

I don't know if it's easily feasible and even if it seems
interesting enough ... so sorry if it is a silly idea.

All the best

More information about the R-devel mailing list