[R] Extracting Hash via Vector

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Tue Jan 13 12:38:01 CET 2009


Wacek Kusnierczyk wrote:
>
> on the side, this fails as well (guess why), though some might expect it
> should work fine:
>
> x[[c('some', 1)]]
> # expected an integer, but subscript out of bounds reported
>
>   

expected a double, not an integer, of course, since the value comes from
runif.

vQ




More information about the R-help mailing list