[R] R question
j.logsdon at lancaster.ac.uk
Fri Dec 17 10:52:58 CET 1999
Faheem and others
As another but much more lowly refugee from glim, genstat and octave
(although I still use these from time to time) I can only endorse what
Bill Venables has to say. Even now, I find myself thinking in glim terms
(particularly when it comes to the - I think superior - indexing in glim,
and I do miss the elegance of glim's glm execution but these are
weaknesses of the S definition, not R) and it costs me time.
You have to think in terms of structures and tools like the apply() family
to do things. Then they do work out. Good software like R always promotes
education and thinking about the problem at hand rather than getting into
for-loops and bottom up constructions.
There is one point in your scripts that I want to warn you about - the use
of single characters such as t() or c() as functions. I think l() gets
away with it but you will end up confusing the issue. In particular, you
can get an apparently meanlingless message.
Not that I always follow my own advice of course!!!
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help