From hanl2 at wyeth.com  Wed Nov 29 19:35:37 2006
From: hanl2 at wyeth.com (hanl2 at wyeth.com)
Date: Wed, 29 Nov 2006 19:35:37 +0100 (CET)
Subject: [Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)
Message-ID: <20061129183537.0F42D5734F@slim.kubism.ku.dk>

Full_Name: Lixin Han
Version: 2.4.0
OS: Windows 2000
Submission from: (NULL) (155.94.110.222)


A character vector c('a','b') is supplied to rm().  As a result, 'c' is deleted
unintentionally.

> a <- 1:5
> b <- 'abc'
> c <- letters
> ls()
[1] "a" "b" "c"
> rm(c('a','b'))
> ls()
character(0)
>



[Rd] rm() deletes 'c' if c('a','b') is the argument (PR#9399)
hanl2 at wyeth.com