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

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

[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