Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.31.0110121527050.4868-100000@gannet.stats>
Date: 2001-10-12T14:27:50Z
From: Brian Ripley
Subject: More trouble with empty subsets
In-Reply-To: <200110121420.f9CEKXA28130@arbres1a.FMR.Com>

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