Skip to content
Prev 25729 / 398503 Next

Existence of non-vectorised functions

Thanks to Uwe Ligges and Ben Bolker for their responses.  My main concern
was with the fact that R doesn't issue a warning when the user attempts an
"if" test with a vector argument.  Splus (at least Splus 6) does do this,
saying that only the first element is used in testing the condition. I feel
that R should also give this warning.

thanks again,
Ravi.

----- Original Message -----
From: "Uwe Ligges" <ligges at statistik.uni-dortmund.de>
To: "Ravi Varadhan" <rvaradha at jhsph.edu>
Cc: <r-help at stat.math.ethz.ch>
Sent: Tuesday, November 26, 2002 12:43 PM
Subject: Re: [R] Existence of non-vectorised functions
-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

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