[R] Text in plot

Ennapadam Venkatraman venkat at biosta.mskcc.org
Thu Feb 18 18:31:08 CET 1999

I am trying to place a multi-line text in a plot.  R-0.63.2 on Linux however
writes only the first line.  Example given below.

R : Copyright 1999, The R Development Core Team
Version 0.63.2  (January 12, 1999)

> x11()
> plot(0,0)
> text(0,-0.5,"test \n line2")

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