Žroutík
2010-May-04 07:54 UTC
[R] should srt= in text()/par() recycle its parametres or not?
Dear R-users, I bumped into an unusual behaviour when a parametre is not recycled. Using text() with srt= values (turn string by an angle), srt=10*c(1:8), or even srt=c(1:2) and ploting my eight names to their values in the plot(), gives the following error: graphical parameter "srt" has the wrong length srt seems to accept only one number. IMO, it should accept a vector and recycle that if necessary. Can somebody confirm this behaviour true/false, please? Cheers, Z [[alternative HTML version deleted]]