From |uc@r @end|ng |rom |edor@project@org  Sat Oct  5 20:08:48 2019
From: |uc@r @end|ng |rom |edor@project@org (=?UTF-8?Q?I=C3=B1aki_Ucar?=)
Date: Sat, 5 Oct 2019 20:08:48 +0200
Subject: [Rd] should base R have a piping operator ?
In-Reply-To: <CAGpovd29V3rXSyB_SMBnbKfb3dzAFPF66ck9iU6XPB_+bS+8WQ@mail.gmail.com>
References: <CAEKh8uidcEWA4tzmkpQxpF=q7r93qjf-HtiWLfbT91TFGOSzFQ@mail.gmail.com>
 <CAGpovd2jxxWBUxPhMAR6ZPw1+UQzK7BzJVtps10cMBSp=EUdHQ@mail.gmail.com>
 <CALEXWq0ZvGeTbeq-AeYTSTcTwR-TR+gGczqQhWupzB2h0wa+zg@mail.gmail.com>
 <CAGpovd29V3rXSyB_SMBnbKfb3dzAFPF66ck9iU6XPB_+bS+8WQ@mail.gmail.com>
Message-ID: <CALEXWq1riqkhSgiycKRSq4c2Q4hKCw_o-p2DZu4kfrwAsDO2+w@mail.gmail.com>

On Sat, 5 Oct 2019 at 19:54, Hugh Marera <hugh.marera at gmail.com> wrote:
>
> [...] it is not very difficult to find functions in dplyr or data.table or indeed other packages that one may wish to be in base R. Examples, for me, could include data.table::fread

You have utils::read.table and the like.

> dplyr::group_by & dplyr::summari[sZ]e combo

base::tapply, base::by, stats::aggregate.

> [...] Many R users don't even know that they are installing the magrittr package.

And that's one of the reasons why the proposal makes sense. Another
one is that the pipe plays well with many base R functions, such as
subset, transform, merge, aggregate and reshape.

I?aki



[Rd] should base R have a piping operator ?
=?UTF-8?Q?I=C3=B1aki_Ucar?=