[R] A question about default output on the screen

About this list Date view Thread view Subject view Author view Attachment view

From: Song Baiyi (song.baiyi@udo.edu)
Date: Sat 15 May 2004 - 00:28:34 EST


Message-id: <40A4D792.3030805@udo.edu>

Hello everyone,

I got a problem to change the default output on the screen and I use
Xemacs ESS and R.

When I happen to show a data.frame with thousands of records (type a
variable name and return), the screen just freeze or keep scrolling for
minutes, because of the large quantity of records.

Therefore I decide to write a more clever "show" method, which will
check the number of items to print on the screen. If there are too many
records, it will just prompt a warning message and return. How can I do
it? I tried it setMethod("show","ANY",
function(object){....;standerdGenetic("show");}), but it did not work.

Can anyone give me some ideas?

Thanks in advance

Baiyi Song
LS fr. Datenverarbeitungssysteme | Tel. +49 231-755-7009
Universitšt Dortmund
44221 Dortmund / Germany

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:10 EST