TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Programming in R makes serious statistics serious fun

13 点作者 vladimir超过 16 年前

1 comment

timr超过 16 年前
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...