Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread luke-tierney
On Fri, 4 Dec 2020, Dénes Tóth wrote: On 12/4/20 3:05 PM, Duncan Murdoch wrote: ... It's tempting to suggest it should allow something like   mtcars |> subset(cyl == 4) |> lm(mpg ~ disp, data = .) which would be expanded to something equivalent to the other versions: but that makes it

Re: [Rd] New pipe operator

2020-12-04 Thread Deepayan Sarkar
On Fri, Dec 4, 2020 at 7:35 PM Duncan Murdoch wrote: > > On 04/12/2020 8:13 a.m., Hiroaki Yutani wrote: > >> Error: function '::' not supported in RHS call of a pipe > > > > To me, this error looks much more friendly than magrittr's error. > > Some of them got too used to specify functions

Re: [Rd] New pipe operator

2020-12-04 Thread Sebastian Meyer
Am 04.12.20 um 15:05 schrieb Duncan Murdoch: > On 04/12/2020 8:13 a.m., Hiroaki Yutani wrote: >>>   Error: function '::' not supported in RHS call of a pipe >> >> To me, this error looks much more friendly than magrittr's error. >> Some of them got too used to specify functions without (). This >>

Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread Duncan Murdoch
On 04/12/2020 2:26 p.m., luke-tier...@uiowa.edu wrote: On Fri, 4 Dec 2020, Dénes Tóth wrote: On 12/4/20 3:05 PM, Duncan Murdoch wrote: ... It's tempting to suggest it should allow something like   mtcars |> subset(cyl == 4) |> lm(mpg ~ disp, data = .) which would be expanded to

Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread Ivan Krylov
On Fri, 4 Dec 2020 20:11:17 -0600 (CST) luke-tier...@uiowa.edu wrote: > We did try a number of variations; the code is in the R-syntax branch. > At the root of that branch are two .md files with some notes as of > around useR20. Thanks for the information! Can I make a suggestion? If the

Re: [Rd] New pipe operator

2020-12-04 Thread Duncan Murdoch
On 04/12/2020 12:06 p.m., Deepayan Sarkar wrote: On Fri, Dec 4, 2020 at 7:35 PM Duncan Murdoch wrote: On 04/12/2020 8:13 a.m., Hiroaki Yutani wrote: Error: function '::' not supported in RHS call of a pipe To me, this error looks much more friendly than magrittr's error. Some of them

Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread luke-tierney
On Sat, 5 Dec 2020, Duncan Murdoch wrote: On 04/12/2020 2:26 p.m., luke-tier...@uiowa.edu wrote: On Fri, 4 Dec 2020, Dénes Tóth wrote: On 12/4/20 3:05 PM, Duncan Murdoch wrote: ... It's tempting to suggest it should allow something like   mtcars |> subset(cyl == 4) |> lm(mpg ~ disp,

[Rd] all.equal() applied to function closures -- now committed

2020-12-04 Thread Martin Maechler
> Martin Maechler > on Thu, 3 Dec 2020 18:29:58 +0100 writes: > Martin Maechler > on Tue, 1 Dec 2020 10:31:36 +0100 writes: > Bill Dunlap > on Mon, 30 Nov 2020 13:41:54 -0800 writes: >>> To make the comparison more complete, >>>

[Rd] New pipe operator

2020-12-04 Thread Duncan Murdoch
Just saw this on the R-devel news: R now provides a simple native pipe syntax ‘|>’ as well as a shorthand notation for creating functions, e.g. ‘\(x) x + 1’ is parsed as ‘function(x) x + 1’. The pipe implementation as a syntax transformation was motivated by suggestions from Jim Hester and

Re: [Rd] New pipe operator

2020-12-04 Thread Dénes Tóth
On 12/4/20 3:05 PM, Duncan Murdoch wrote: ... It's tempting to suggest it should allow something like   mtcars |> subset(cyl == 4) |> lm(mpg ~ disp, data = .) which would be expanded to something equivalent to the other versions: but that makes it quite a bit more complicated.  (Maybe _

Re: [Rd] New pipe operator

2020-12-04 Thread Duncan Murdoch
On 04/12/2020 8:13 a.m., Hiroaki Yutani wrote: Error: function '::' not supported in RHS call of a pipe To me, this error looks much more friendly than magrittr's error. Some of them got too used to specify functions without (). This is OK until they use `::`, but when they need to use it,

Re: [Rd] New pipe operator

2020-12-04 Thread Hiroaki Yutani
> Error: function '::' not supported in RHS call of a pipe To me, this error looks much more friendly than magrittr's error. Some of them got too used to specify functions without (). This is OK until they use `::`, but when they need to use it, it takes hours to figure out why mtcars %>%

Re: [Bioc-devel] Hi to Everyone

2020-12-04 Thread Kern, Lori
We are sorry you are having trouble signing up for the mailing list. We have signed you up manually, please be on the lookout for a confirmation email. Depending on institutional setting there is a chance it could be marked as spam so also look in your spam folder. Cheers, Lori Shepherd

[Bioc-devel] Hi to Everyone

2020-12-04 Thread 林雪
Hello Bioc-developers! I'm new to this mailing list and nice to be here! I 'm working on submitting a package and would like to subscribe this mailing list. I tried to subscribed through the web interface but failed as the captcha not