R-alpha: Recycling

Jim Lindsey (jlindsey@luc.ac.be)
Tue, 25 Feb 1997 09:41:25 +0100 (MET)


From: Jim Lindsey <jlindsey@luc.ac.be>
Message-Id: <9702250841.AA10555@alpha.luc.ac.be>
Subject: R-alpha: Recycling
To: r-testers@stat.math.ethz.ch (r-testers)
Date: Tue, 25 Feb 1997 09:41:25 +0100 (MET)

I agree that recycling is useful. So are stretchy vectors. The problem
is debugging. Recycling can introduce insidious errors in straight
data analysis where little programming is involved.
  Recycling should be explicit, not implicit. rep() does that for
vectors. If it is not sufficient for all cases, maybe it should be
extended or a new function introduced. Then recycling will only occur
when it is clear that that is what we want because we have used the
recycling function.
  Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-