Dear Sirs,

I am exploring the R package and its documentation.  I find there is the
function example which runs examples from documentation pages.  What
confuses me is that running example interferes with the variables I have in
my workspace.

> x <- 0
> example(mean)
> x
Now x is a vector of some values coming from the example.

Am I using example in the wrong way?  In situation like above running
example apparently corrupts existing data, pollutes the workspace with
variables I didn't create myself, and also leaves allocated data that
consume memory.  Is there a way to run example to avoid this?  I tried the
following:

> x <- 0
> local(example(mean))
> x
Still x is corrupted with example data.

Thank you for support.
Abhilash B.

	[[alternative HTML version deleted]]

