Earlier quoted context omitted.
R packages are the wild west as far as code quality goes. In one corner you have Hadley Wickam producing phenomenal efforts like tidyverse and ggplot. In the other corner you have a herd of feral cats. Python gets scrutiny but most packages are on github and feedback can be received. Although, you should read the source code regardless. EDIT: And I re-emphasize -- never trust the source code, even if the company you…
There are different qualities. Code quality and quality of the functionality. In R you more packages that do what you expect (mathematically) but the implementation is inelegant and slow. Written by someone who knows exactly what they need and what the package should do, but has difficulty of writing it down. In python you many well implemented neat packages where the code is well implemented and performs well, but i…
Why Clinical Laboratorians Should Embrace the R Programming Language
21–30 of 62 posts
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#22Earlier quoted context omitted.
R has much better syntax with tidyverse for data wrangling and even up to models with tidymodels and all. Python in comparison is hard to read.
What... Have you seen the piping syntax in tidyverse? It's incomprehensible unless you put in a lot of effort to understand all that's going on.
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#23I am a clinical laboratorian and i find this article very useful .. Thank you for sharing. Can you help me to explore this field ?
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#24My impression is that people outside of maths and statistics are more likely to choose Python than R, because they're able to get started with it more easily. Conventional programmers seem to be somewhat reluctant to learn R's syntax and adjust their programming model. Non-programmer types think in maths even less so they like the python "straightforwardness".
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#25I am a clinical laboratorian and i find this article very useful .. Thank you for sharing. Can you help me to explore this field ?
[1] https://www.amazon.com/Book-First-Course-Programming-Statist...
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#26Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#27Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#28Earlier quoted context omitted.
R packages are the wild west as far as code quality goes. In one corner you have Hadley Wickam producing phenomenal efforts like tidyverse and ggplot. In the other corner you have a herd of feral cats. Python gets scrutiny but most packages are on github and feedback can be received. Although, you should read the source code regardless. EDIT: And I re-emphasize -- never trust the source code, even if the company you…
There are different qualities. Code quality and quality of the functionality. In R you more packages that do what you expect (mathematically) but the implementation is inelegant and slow. Written by someone who knows exactly what they need and what the package should do, but has difficulty of writing it down. In python you many well implemented neat packages where the code is well implemented and performs well, but i…
I disagree with this point explicitly. Many packages are not only poorly written programmatically and systemically, they also produce bad results in common cases and fail silently. This has been discussed well before on our very own YCombinator.
https://news.ycombinator.com/item?id=17308554
> is not exactly doing what user need or skips important features because they are conceptually difficult.
This is why classes are cool. You can extend them, modify them, and so on. Perhaps we should teach this more to fellow data scientists.
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#29To me, R seems more like a cobbled together ecosystem of automation within statistics, rather than an actual language. Compared with Python the language ergonomics of R are confusing and inconsistent. I guess momentum and establishment is also a feature in itself though I’ve personally never felt that, one of the selling points, the esoteric statistics packages at the edge would be of any use to me. The use I’ve seen…
Actually, it most probably reverse. Python, numpy, pandas, etc are cobbled together with duct tape to do what R does elegantly. There is no consistency with Python ecosystem.
They are different tools for different purposes.
Re: Why Clinical Laboratorians Should Embrace the R Programming Language
#30I would say you could replace R with Python or Julia and do just fine. Anything must be better than SPSS. That said, R had come a long way in recent years and is enjoyable to use. It is very complete as far as statistics go.