From ripley@stats.ox.ac.uk  Thu Oct 19 19:48:21 2000
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Thu, 19 Oct 2000 19:48:21 +0100 (BST)
Subject: [Rd] remove(ls())
In-Reply-To: <39EF3A90.9580C6B5@bank-banque-canada.ca>
Message-ID: <Pine.GSO.4.05.10010191946200.8353-100000@auk.stats>

On Thu, 19 Oct 2000, Paul Gilbert wrote:

> It's been a long time since I tried this:
> 
> > remove(ls())
> Warning message:
> remove: variable "ls()" was not found
> 
> Is it intentional that this does not work (in 1.1.1 and R-devel)?

AFAIK only remove(list=ls()) has ever worked in R.

In R rm() and remove() are the same thing.  In S they are not.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] remove(ls())
Prof Brian D Ripley