On Fri, 12 Oct 2001, David Brahm wrote:
> Here's another curious problem with empty subsets:
> R> x <- as.factor(1:10)
> R> x[] <- NA
> Error in "[<-.factor"(*tmp*, , value = NA) :
> Argument "i" is missing, with no default
>
> Bug, or merely different from S-Plus?
Bug already fixed in R-devel, so please tell us the version when
reporting.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._