rm(list = ls(all = TRUE))

On Thu, Jul 29, 2010 at 2:26 PM, Ralf B <ralf.bie...@gmail.com> wrote:

> With environment I actually meant workspace.
>
> On Thu, Jul 29, 2010 at 1:22 PM, Ralf B <ralf.bie...@gmail.com> wrote:
> > Is it possible to remove all variables in the current environment
> > through a R command.
> >
> > Here is what I want:
> >
> > x <- 5
> > y < 10:20
> > reset()
> > print(x)
> > print(y)
> >
> > Output should be NULL for x and y, and not 5 and 10:20.
> >
> > Can one do that in R?
> >
> > Best,
> > Ralf
> >
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to