sagarnikam123 wrote
>
> 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
>
I had an identical problem building in R.2.12 with the latest (last week's)
Rtools.
Interestingly I found that if I used a DOS path in rcmd build (eg rcmd build
0.9\pkg) I got a .tar, but if I replaced it with the unix-like path as in
rcmd build 0.9/pkg
I got a .tar.gz
Weird but workable.
S El
2 matches
Mail list logo