search for: mean_sl

Displaying 7 results from an estimated 7 matches for "mean_sl".

2019 Oct 05
5
should base R have a piping operator ?
Yes but this exageration precisely misses the point. Concerning your examples: * I love fread but I think it makes a lot of subjective choices that are best associated with a package. I think it changed a lot with time and can still change, and we have great developers willing to maintain it and be reactive regarding feature requests or bug reports *.group_by() adds a class that works only (or
2019 Oct 06
1
should base R have a piping operator ?
...all the pipe authors to agree on syntax for transformPipe(), and then for IDE authors to support it. R Core doesn't need to be involved at all unless they want to update Rgui or R.app or command line R. Duncan Murdoch > > If > > iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% > filter(mean_sl > 5) > > > were *parsed* as, for example, into > > local({ > . = group_by(iris, Species) > > ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) > > filter(., mean_sl > 5...
2019 Oct 07
4
should base R have a piping operator ?
...the pipe could go into base R that could not be done in package space > and has the potential to mitigate some pretty serious downsides to the > pipes relating to debugging, which would be to implement them in the parser. > > If > > iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% > filter(mean_sl > 5) > > > were *parsed* as, for example, into > > local({ > . = group_by(iris, Species) > > ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) > > filter(., mean_sl > 5) >...
2019 Oct 05
0
should base R have a piping operator ?
...though. There is another way the pipe could go into base R that could not be done in package space and has the potential to mitigate some pretty serious downsides to the pipes relating to debugging, which would be to implement them in the parser. If iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% filter(mean_sl > 5) were *parsed* as, for example, into local({ . = group_by(iris, Species) ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) filter(., mean_sl > 5) }) Then debuggiing (once you knew that) would...
2019 Oct 07
0
should base R have a piping operator ?
...base R that could not be done in package space >> and has the potential to mitigate some pretty serious downsides to the >> pipes relating to debugging, which would be to implement them in the parser. >> >> If >> >> iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% >> filter(mean_sl > 5) >> >> >> were *parsed* as, for example, into >> >> local({ >> . = group_by(iris, Species) >> >> ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) >> >>...
2019 Oct 06
1
should base R have a piping operator ?
...pipe could go into base R that could not be done in package space > and has the potential to mitigate some pretty serious downsides to the > pipes relating to debugging, which would be to implement them in the > parser. > > If > > iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% > filter(mean_sl > 5) > > > were *parsed* as, for example, into > > local({ > . = group_by(iris, Species) > > ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) > > filter(., mean_sl > 5) >...
2019 Oct 07
0
[External] Re: should base R have a piping operator ?
...base R that could not be done in package space >> and has the potential to mitigate some pretty serious downsides to the >> pipes relating to debugging, which would be to implement them in the parser. >> >> If >> >> iris %>% group_by(Species) %>% summarize(mean_sl = mean(Sepal.Length)) %>% >> filter(mean_sl > 5) >> >> >> were *parsed* as, for example, into >> >> local({ >> . = group_by(iris, Species) >> >> ._tmp2 = summarize(., mean_sl = mean(Sepal.Length)) >> >>...