Re: [Rd] named arguments discouraged in `[.data.frame` and `[<-.data.frame`

2018-11-29 Thread Henrik Pärn
Thanks Emil for your thorough answer. It really clarified a lot to me. And revealed (even more of) my ignorance. >-Original Message- >From: Emil Bode >Sent: Thursday, November 29, 2018 10:48 AM >To: Henrik Pärn ; r-devel@r-project.org >Subject: Re: [Rd] named arguments

Re: [Rd] named arguments discouraged in `[.data.frame` and `[<-.data.frame`

2018-11-29 Thread Henrik Pärn
atching is done there as well. Sometimes. At least when 'x' argument is not first, as shown in Bill's examples. Obviously my "test" was insufficient... Cheers, Henrik From: William Dunlap Sent: Wednesday, November 28, 2018 9:10 PM To: Henrik Pärn Cc: r-devel@r-proje

[Rd] named arguments discouraged in `[.data.frame` and `[<-.data.frame`

2018-11-28 Thread Henrik Pärn
tl;dr: Why are named arguments discouraged in `[.data.frame`, `[<-.data.frame` and `[[.data.frame`? (because this question is of the kind 'why is R designed like this?', I though R-devel would be more appropriate than R-help) # Background: Now and then students pr

Re: [Rd] help text for which.min

2011-10-10 Thread Henrik Pärn
8.10.2011 14:54, Henrik Pärn wrote: > Dear R developers, > > I find the which.min function very handy. However, maybe you could > consider a tiny addition to the example data in the the help text. > > By adding another zero to the vector x... > > x <- c(1:4, 0, 0:5,11) > >

[Rd] help text for which.min

2011-10-10 Thread Henrik Pärn
Value section, while it is parenthesized in Description. I believe that the parenthesis could be removed, and 'first' possibly could be emphasized here as well. Well, well, just a small suggestion. Thank you all for your great work. Best regards, Henrik -- Henrik Pärn Centre for Conser