[R] Hmisc and Design library progress note

Paul Murrell paul at stat.auckland.ac.nz
Wed May 23 22:50:17 CEST 2001


Hi


> I am working now on porting the Design library to R.  I hope
> to be finished in about 6-8 weeks.  My only holdup now, besides
> finding some time, is figuring out how to configure directories
> for optimal use with CVS, R, and S-Plus.   I have had a bit
> of trouble with graphics because in some cases I rely on
> text( ) etc. to plot outside the axis limits.  S-Plus allows
> this but R seems to suppress such plotting attempts.


If I read the problem correctly ...
par(xpd=T) or par(xpd=NA) should allow you to produce text() outside the
plot region.
For example,

    par(mfrow=c(3,1), oma=rep(4,4))
    plot(1)
    text(1.4, 1, "A quite long string", adj=0)
    par(xpd=T)
    plot(1)
    text(1.4, 1, "A quite long string", adj=0)
    par(xpd=NA)
    plot(1)
    text(1.4, 1, "A quite long string", adj=0)
    box("inner", lty="dashed")

Paul


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list