TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Programming in R makes serious statistics serious fun

13 pointsby vladimirover 16 years ago

1 comment

timrover 16 years ago
R is becoming huge in the bioinformatics world (I used it a lot for my own research), but I wouldn't go so far as to compare it to a general-purpose language like ECMAScript (and yes, ECMAScript is general-purpose when compared to R/SPlus). R is a good domain-specific language -- it has a great library of statistical methods for analysis and modeling -- but it's dog slow, a huge memory hog (i.e. forget large datasets), and has I/O facilities that are only a bit more advanced than what you get in FORTRAN 77.<p>My general research workflow was to do all of my custom logic in a faster, smaller language (i.e. Perl, C++), then to dump tab-delimited files that I could load into R for summary analysis and graphing. I would also sometimes prototype my code in R (if it involved tricky matrix math or statistical models), then re-write everything in a more capable language when it came time to work with real data.<p>That said, R has its strengths -- the graphics language is <i>really</i> powerful, once you take the time to learn it. Kind of like a functional interface to postscript...