Message-ID: <1329922418103-4410576.post@n4.nabble.com>
Date: 2012-02-22T14:53:38Z
From: sagarnikam123
Subject: how to make hash?& append element, if i want following condition
In-Reply-To: <1329904181481-4409761.post@n4.nabble.com>
i did it, but using hash package ,i got error like
>hash1 <- new.env()
> hash1$A <- c(1.2, 3.4, 4.5)
> hash1$A
[1] 1.2 3.4 4.5
> h<-hash(keys=c("A","B"),values=c(hash1$A,hash1$A) )
Error in .set(h, ...) : Keys of length 2 do not match values of length 6
how should i proceed
--
View this message in context: http://r.789695.n4.nabble.com/how-to-make-hash-append-element-if-i-want-following-condition-tp4409761p4410576.html
Sent from the R help mailing list archive at Nabble.com.