The function `base::rm` has an argument that is named `list`. However, if a
list is passed as `list` to `rm` (e.g.: `rm(list = list("x", "y"))`), an error
is raised: "invalid first argument".
Agreed, the documentation says that `list` should be "a character vector naming
objects to be removed.
Any follow-up/comments on this? If I don't hear back I'll submit to
r-bugs so it doesn't get lost ...
(Don't see any changes in QC.R in the last few days ...
https://github.com/wch/r-source/commits/trunk/src/library/tools/R/QC.R
)
-- Forwarded message --
From: Ben Bolker
Date: Su
On 13/04/2018 7:21 AM, Johannes Rauh wrote:
The function `base::rm` has an argument that is named `list`. However, if a list is passed as `list` to `rm`
(e.g.: `rm(list = list("x", "y"))`), an error is raised: "invalid first
argument".
Agreed, the documentation says that `list` should be "a c
On Fri, Apr 13, 2018 at 3:51 PM, Duncan Murdoch
wrote:
> On 13/04/2018 7:21 AM, Johannes Rauh wrote:
>>
>> The function `base::rm` has an argument that is named `list`. However, if
>> a list is passed as `list` to `rm` (e.g.: `rm(list = list("x", "y"))`), an
>> error is raised: "invalid first arg