Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hadley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
hadley
8y ago
It should make things a bit faster, and a bit easier to collaborate with people using other languages.
62.
▲
by
hadley
8y ago
I love exploratory - it's an a really interesting place between GUI and code autocomplete on steroids,
63.
▲
by
hadley
9y ago
The subdomain confusion will get resolved once the 2nd ed is a bit more mature so I can just redirect the 1st ed.
64.
▲
Object oriented programming in R
(adv-r.hadley.nz)
22 points
by
hadley
9y ago
|
1 comments
65.
▲
by
hadley
9y ago
I don’t think your point about dplyr holds weight because it explicitly draws inspiration from two base R functions: subset and transform. And I don’t think ggplot2 is a great example either since it’s some of my earliest work and I’m activ
66.
▲
by
hadley
9y ago
You should also check out http://purrr.tidyverse.org and http://github.com/r-lib - we're working towards providing tools that make general purpose programming more pleasant. (Not because R should ever be yo
67.
▲
by
hadley
9y ago
I hugely dislike being compared to any religious figure. I don't have "followers", and the vast majority of people who use my work understand that it's just one way to do things. The tidyverse is far from perfect, and I
68.
▲
by
hadley
9y ago
Sounds you like have a very OO background. I'd strongly encourage you to learn more about functional programming (FP). I personally believe it's a very good fit for the types of programming you commonly encounter in data science,
69.
▲
by
hadley
9y ago
I'd love to know what in particular you think is particularly "non-R" like.
70.
▲
by
hadley
9y ago
Things (IMO) that R has going for it: * RStudio IDE - none of python equivalents are anywhere near as mature * Functional programming - I can't fully articulate why yet, but to me, FP seems like it "fits" most DS programming
71.
▲
by
hadley
9y ago
It's not a terrible general purpose language (unless you believe that only OO languages can be general purpose). It could definitely do with more general purpose programming packages, but that's not a limitation of the language.
72.
▲
by
hadley
9y ago
Machine learning is only a small part of data science.
73.
▲
by
hadley
9y ago
Did you read the text? For every RStudio UI feature, I also provide the equivalent function call.
74.
▲
by
hadley
10y ago
Yeah, NSE sucks in dplyr, but it'll be fixed soon :)
75.
▲
by
hadley
10y ago
Or sparklyr
76.
▲
by
hadley
10y ago
No - while it covers the theoretical foundations, it doesn't give you any of the practical skills you actually need to work with data.
77.
▲
by
hadley
10y ago
> Prostate cancer screening did not significantly decrease prostate cancer-specific mortality in a combined meta-analysis of five RCTs. Only one study (ERSPC) reported a 21% significant reduction of prostate cancer-specific mortality in
78.
▲
by
hadley
10y ago
Yes. You can read the issues for what the package will start with. No plans for more FP packages in the near future, although I do want to add multicore and progress bars to purrr.
79.
▲
by
hadley
10y ago
That is technically correct (the best kind of correct ;) but I think for newcomers it gives a better sense of the spirit of relational data.
80.
▲
by
hadley
10y ago
Not yet. It's a hard problem.
81.
▲
by
hadley
10y ago
You might enjoy < http://adv-r.had.co.nz/> , which discusses R from more of a programming language perspective (albeit a programming language that is chiefly used for data analysis). There are a lot of misunderstanding
82.
▲
by
hadley
10y ago
I love your sweet naivety about the process of writing exercises :P
83.
▲
by
hadley
10y ago
I think teaching multiple languages would make life much harder for new learners. Also window functions are really useful for data analysis, and they are much easier to express in dplyr than they are in SQL (at the cost of being slightly le
84.
▲
by
hadley
10y ago
Probably not any strong reasons. That said, if you're a software engineer, you shouldn't find it too hard to pick up enough R to be useful. You might enjoy < http://adv-r.had.co.nz> which describes R from more of
85.
▲
by
hadley
10y ago
Because it's designed to support typically relational db workloads (i.e. Lots of changes) not data analysis workloads. Dataframes in R, pandas etc, are column oriented, which leads to better trade offs for analysis. Also SQL is a subst
86.
▲
by
hadley
10y ago
I don't think modelr is going to change significantly in the future. It solved a pressing problem (fitting models as part of a pipeline) so I could teach modelling using the same interface as everything else in the book. However, the m
87.
▲
by
hadley
10y ago
If you don't already know SQL or dplyr, I think you would find dplyr significantly easier to learn. Some people who do know SQL well have commented that they too find dplyr easier. I think this is because the scope of dplyr is much sma
88.
▲
by
hadley
10y ago
Yes
89.
▲
by
hadley
10y ago
The source is available in https://github.com/hadley/r4ds , and works exactly as you describe when using the preview edition of RStudio (and indeed that's how I write the book)
90.
▲
by
hadley
10y ago
No, but I'll probably crowd source when the book is final.
More ›