Message-ID: <199803231712.MAA08319@c0230.ae.ge.com>
Date: 1998-03-23T17:12:14Z
From: U-E59264-Osman Buyukisik
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)
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._