R-alpha: yet another remaining buglet
Martin Maechler
Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 12 Aug 1997 17:48:03 +0200
This was originally
>> Cc: r-devel@stat.math.ethz.ch
>> Subject: Re: R-alpha: list assignment
>> References: <199704250112.NAA00344@stat3.stat.auckland.ac.nz>
>> From: Peter Dalgaard BSA <p.dalgaard@kubism.ku.dk>
>> Date: 25 Apr 1997 13:09:01 +0200
>> In-Reply-To: Robert Gentleman's message of Fri, 25 Apr 1997 13:12:36 +1200 (NZST)
### 2) names(x)[1] <- "a" still gives extraneous doublequotes IN the name
x <- list()
x[[1]] <- 23
names(x)[1] <- "a"
x #----------------- got the quotes, also !!
##- $"a"
##- [1] 23
unlist(x)
##- \"a\"
##- 23
names(x) #> [1] "\"a\""
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-