[R] Use of example()

Art Salwin salwin at mitretek.org
Mon Oct 2 14:53:32 CEST 2000

I've been using R for several months, and just learned
that example(topic) runs the example R code given in the
help file
for that topic.  Very nice feature!  However, I have a
question:  when
there's more than one example for a topic, each succeeding
overwrites the preceding ones on the screen, and so only the
one is visible.  Is there a way to overcome this by having
the examples
execute only one at a time or by having them write to
different output
Art Salwin
salwin at mitretek.org
(202) 863-2985
(202) 863-2988 (fax)
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