Placement of attributes
U-E59264-Osman Buyukisik
buyuk@c0230.ae.ge.com
Mon, 23 Mar 1998 12:12:14 -0500 (EST)
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._