Live data from Hacker News

R in Ecology

blog.dominodatalab.com

11–17 of 17 posts

Re: R in Ecology

#12
post #6

> library(dplyr) # gives us the gift of pipes “%>%” Actually, it was magrittr[0]. dplyr popularised their use. [0] https://cran.r-project.org/web/packages/magrittr/index.html

It's a bit more complicated than that - dplyr and magrittr invented pipes independently at about the same time. I preferred magrittr's implementation, so switched to that. dplyr continues to import and re-export %>% so that you don't need to explicitly load magrittr.

Re: R in Ecology

#13
post #5

R is good for ecology now that Microsoft own it -_-'

What do you mean Microsoft owns R? It's an open source project under the GNU license.

Microsoft acquired Revolution Analytics

http://blog.revolutionanalytics.com/2016/01/microsoft-r-open...

Edit: Just saying why the GP claimed Microsoft "owns" R, which they clearly don't.

Re: R in Ecology

#14

Earlier quoted context omitted.

What do you mean Microsoft owns R? It's an open source project under the GNU license.

Microsoft acquired Revolution Analytics http://blog.revolutionanalytics.com/2016/01/microsoft-r-open... Edit: Just saying why the GP claimed Microsoft "owns" R, which they clearly don't.

Interesting, but it looks like they have a fork of R. They package it differently, and provide some performance enhancements.

Re: R in Ecology

#15
post #12
post #6

> library(dplyr) # gives us the gift of pipes “%>%” Actually, it was magrittr[0]. dplyr popularised their use. [0] https://cran.r-project.org/web/packages/magrittr/index.html

It's a bit more complicated than that - dplyr and magrittr invented pipes independently at about the same time. I preferred magrittr's implementation, so switched to that. dplyr continues to import and re-export %>% so that you don't need to explicitly load magrittr.

I wasn't aware of this parallel origin for the pipe. Just out of curiosity what did magrittr's implementation have over dplyr's? Thanks for incorporating forward piping in dplyr, it improves functional order/readability by miles!

Re: R in Ecology

#16
post #12
post #6

> library(dplyr) # gives us the gift of pipes “%>%” Actually, it was magrittr[0]. dplyr popularised their use. [0] https://cran.r-project.org/web/packages/magrittr/index.html

It's a bit more complicated than that - dplyr and magrittr invented pipes independently at about the same time. I preferred magrittr's implementation, so switched to that. dplyr continues to import and re-export %>% so that you don't need to explicitly load magrittr.

Thanks for that. I had no idea things were connected in that way.

Re: R in Ecology

#17
I miss some important packages here (IMAO), but is an interesting entry to further readings.

Otherwise, I don't really understand the hype with that %>% thing and did not find nothing about this structure in a quick google search. I would really appreciate if someone can enlight this fool. Thanks.

Post reply on HN