R-alpha: [[ ]] subscript out of bounds

Paul Gilbert (pgilbert@bank-banque-canada.ca)
Mon, 24 Jun 1996 16:35:46 -0400


Date: Mon, 24 Jun 1996 16:35:46 -0400
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: [[ ]] subscript out of bounds
Message-Id: <96Jun24.163656edt.29443@mailgate.bank-banque-canada.ca>


Is the following a bug or is this not supported in R (0.9)?

> z <- list(a=1)
> z[["b"]] <- 2
Error: subscript out of bounds
> z["b"] <- 2
Error: subscript out of bounds
> 

Paul Gilbert
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-