From thomas@biostat.washington.edu  Sun Apr 27 22:39:02 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Sun, 27 Apr 1997 14:39:02 -0700 (PDT)
Subject: R-alpha: R-beta: vector recycling weirdness
In-Reply-To: <9704010823.AA00318@>
Message-ID: <Pine.SUN.3.95.970427143317.14377A-100000@data>

wompom:~> R
R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.49 Beta (April 23, 1997)

R> f
function () 
{
        FALSE & matrix(FALSE, ncol = 1)
}
R> g
function () 
FALSE & matrix(FALSE, ncol = 1) 
R> f()
Warning in FALSE & matrix(FALSE, ncol = 1) : longer object length
        is not a multiple of shorter object length
      [,1]
[1,] FALSE
R> g()
      [,1]
[1,] FALSE
 
Is this weird or what?


Thomas Lumley
-----------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: R-beta: vector recycling weirdness
Thomas Lumley