[Rd] In base R: argument `list` does not accept lists

2018-04-13 Thread Johannes Rauh
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.

[Rd] Fwd: suggested patch for messages

2018-04-13 Thread Ben Bolker
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

Re: [Rd] In base R: argument `list` does not accept lists

2018-04-13 Thread Duncan Murdoch
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

Re: [Rd] In base R: argument `list` does not accept lists

2018-04-13 Thread Ista Zahn
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