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.

R for Programmers

59 pointsby voberoiover 15 years ago

12 comments

hadleyover 15 years ago
There are a few minor errors:<p>* the explanation of 8.6 is wrong - it's cbind that's coercing all columns to a common type, not data.frame<p>* 8.7 is a bad example of good R code - use column names not indices!<p>* in 9 (and elsewhere) it's not necessary to continually strips names off vectors or use return in functions<p>* 11.2.1 to count TRUEs in logical vector, sum it.<p>...
评论 #893661 未加载
评论 #891729 未加载
carbocationover 15 years ago
I write PHP and some perl, and recently learned R. This guide would have been useful to me at the beginning. What it does well is that it jumps right into concepts that programmers will naturally wonder about and already conceptually grok. It wastes no time on explaining basic programming concepts, nor does it dig deep into esoteric R-isms. It helps you translate your PHP/Perl/Java/whatever mindset into the R language. An extremely useful introductory document.
arvinjoarover 15 years ago
My mother has a PhD in Cognitive Linguistics and is working at UCSC. She is using R, she hasn't programmed before, so I wonder how well she is doing with R. Well, I will meet her again around Christmas, maybe I could help her out a bit with R, I'm sure there's saomething she has missed, since she's a non-programmer.
评论 #892223 未加载
ramanujanover 15 years ago
Google's R Style Guide may be helpful:<p><a href="http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html" rel="nofollow">http://google-styleguide.googlecode.com/svn/trunk/google-r-s...</a>
voberoiover 15 years ago
... a super handy dandy resource for programmers new to R.
jhammerbover 15 years ago
most of my issues with r can be traced back to the nonintuitive (for me) data structures. i found <a href="http://www.amazon.com/Data-Manipulation-R-Use/dp/0387747303" rel="nofollow">http://www.amazon.com/Data-Manipulation-R-Use/dp/0387747303</a> to be the most concise guide for how to manipulate common data structures.
amoebaover 15 years ago
This PDF has been the most helpful reference for me while learning R this last year.
mhdover 15 years ago
"...who want to do statistics", right? Are there any good use cases for R for other stuff? (Or some interesting ways you used statistics as a "working programmer" recently?)
评论 #892087 未加载
评论 #892112 未加载
jonathansizzover 15 years ago
How long does it take to learn R compared to (for example) Perl?
评论 #892237 未加载
评论 #892265 未加载
the_real_r2d2over 15 years ago
This is a good resource to start. Then it might be better resources (there are some other tutorials around) but as a beginner in R I found it very good.
graywhover 15 years ago
-1 for not mentioning mapply, tapply, or sapply.
herdrickover 15 years ago
Is there something like this for MATLAB?