[R] Error in inherits(x, "data.frame") : subscript out of bounds

Czerminski, Ryszard ryszard at arqule.com
Wed Jun 19 20:23:37 CEST 2002


Hi, I have this little problem with "dist" function
and I cannot find anything matching in mail archives

> o
     [,1] [,2] [,3]
[1,]    1    0    3
[2,]    2    0    6
[3,]    3    0    9
> dist(o)
Error in inherits(x, "data.frame") : subscript out of bounds

If you have any insights, which might illuminate R-neophyte...
I would highly appreciate it.

Truly yours,

R

Ryszard Czerminski   phone: (781)994-0479
ArQule, Inc.         email:ryszard at arqule.com
19 Presidential Way  http://www.arqule.com
Woburn, MA 01801     fax: (781)994-0679
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list