running example() (was RE: [R] Output from examples in help files )

Liaw, Andy andy_liaw at
Fri Mar 29 15:09:14 CET 2002

Dear R-help,

Reading this thread reminds me of a minor nuisance I have.
When running example(), objects are created in the global
environment.  This is OK if I then wanted to look that
those objects a bit more.  However, it does clutter up
the workspace with a bunch of things not really relevant
to the project I'm working on.  Does anyone have a good
solution for cleaning up?  TIA!


Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.


r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list