From buyuk@c0230.ae.ge.com  Mon Mar 23 17:12:14 1998
From: buyuk@c0230.ae.ge.com (U-E59264-Osman Buyukisik)
Date: Mon, 23 Mar 1998 12:12:14 -0500 (EST)
Subject: Placement of attributes
In-Reply-To: <x27m5ll7f7.fsf@blueberry.kubism.ku.dk> (message from Peter
 Dalgaard BSA on 23 Mar 1998 17:05:00 +0100)
Message-ID: <199803231712.MAA08319@c0230.ae.ge.com>

Peter Dalgaard writes:

>>row.names<-as.character(1:54) might help! 

Yes, that does help.   
...

478          PROTECT(rl = getAttrib(x, install("row.names")));

....

545          if (!isNull(rl)) formatString(STRING(rl), r, &rlabw, 0);
 
I guess if row.names are not strings, then the above line causes seg
fault.

Somehow in the first example they are coerced into strings because
they came after c("xxx" , ...). In the second example row.names comes
after c(2 , ...) .

Is there a way to check to see it rl contains strings?

Osman



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Placement of attributes
U-E59264-Osman Buyukisik