News for hackers. Stuff that matters.
Re:R Passes SAS in Scholarly Use by minimaxir on Thursday June 09, 2016 @01:03AM (#11867658)
If you haven't looked at the R ecosystem in awhile, there is a package for each of those use cases. (scraping/API: rvest; database: dplyr; parsing text: stringr, etc).

Yes, Hadley Wickham is primarily responsible for the popularity of R.

Re:R Passes SAS in Scholarly Use by jacobolus on Thursday June 09, 2016 @02:30AM (#11867885)
We’re talking about an order of magnitude difference in number of packages (82096 on PyPI vs. 8551 on CRAN) and their maturity, and such a naïve metric probably undersells the difference in variety of use cases.

If you picked 100 random production python projects out of a hat, no more than a small handful of them would be remotely appropriate to build using R.

And that's entirely fine. R is great at being a quick and dirty statistical analysis language for people doing data exploration.

Re:R Passes SAS in Scholarly Use by Houshalter on Thursday June 09, 2016 @10:05AM (#11869434)
I suspect that the utility of more packages increases only logarithmically. Having 10x more packages doesn't mean it's 10 times more useful. If your obscure need isn't in the first 8,000 packages, it probably won't be in the next 80,000. That's just how power laws work. And any common task you can think of will probably be in the top 8,000.
Re:R Passes SAS in Scholarly Use by hadley on Thursday June 09, 2016 @10:41AM (#11869656)
I totally buy that argument, but there's probably not a huge overlap in the set of "common tasks" for R and python.
Re:R Passes SAS in Scholarly Use by baldfat on Thursday June 09, 2016 @01:58PM (#11871096)
Pandas for Python is almost re-imaging of R (Base 0 instead of base 1 UGH) very closely and the "common task" match closely, but I still use R over Python.
Re:R Passes SAS in Scholarly Use by Houshalter on Thursday June 09, 2016 @03:03PM (#11871533)
Well then all the more reason to use R, if those are the set of tasks you want to do.
Re:R Passes SAS in Scholarly Use by yoplait_ on Thursday June 09, 2016 @04:07AM (#11868157)
how about quick and friendly?
Re:R Passes SAS in Scholarly Use by micro_cam on Thursday June 09, 2016 @10:59AM (#11869801)
Wickham has done a ton but but R had great popularity even before those projects, especially with projects like bioconductor.
Re:R Passes SAS in Scholarly Use by ekianjo on Thursday June 09, 2016 @06:14AM (#11868461)
Dplyr is not for databases at all. Its a piping operator that simplifies complex syntax a lot.
Re:R Passes SAS in Scholarly Use by minimaxir on Thursday June 09, 2016 @09:58AM (#11869389)
Yes, you can use dplyr to connect and query data from a database. https://cran.r-project.org/web/packages/dplyr/vignettes/data...
Re:R Passes SAS in Scholarly Use by Malarkey73 on Thursday June 09, 2016 @07:11AM (#11868625)
Yes and no - the dplyr example code heavily used pipes but that's really a feature of Magrittr package. You can used dplyr without pipes.

Plus dplyr essentially allows you to treat tables in a database as if they are data.frames.