From Andreas.Weingessel@ci.tuwien.ac.at  Thu Mar 25 12:38:20 1999
From: Andreas.Weingessel@ci.tuwien.ac.at (Andreas.Weingessel@ci.tuwien.ac.at)
Date: Thu, 25 Mar 1999 13:38:20 +0100
Subject: Missing Warning in : (PR#148)
Message-ID: <199903251238.NAA17354@blueberry.kubism.ku.dk>


If a sequence is generated via "from:to" and "from" is a vector and not
a scalar, R gives a warning that only the first value is used. If "to"
is a vector, there is no warning.

Example:

> (1:4):10  # warning
Warning in (1:4):10 : Numerical expression has 4 elements: only the first used
 [1]  1  2  3  4  5  6  7  8  9 10
> 1:(10:12) # NO warning
 [1]  1  2  3  4  5  6  7  8  9 10

	Andreas


--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = Unstable
 status.rev = 0
 major = 0
 minor = 64.0
 year = 1999
 month = March
 day = 19
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Missing Warning in : (PR#148)
Andreas.Weingessel@ci.tuwien.ac.at