[R] Same code - error in one PC but not in other

Juan Antonio Balbuena j.a.balbuena at uv.es
Thu Nov 7 17:31:47 CET 2013

   I am running exactly the same code on two different computers. In PC1 of the
   the code is working fine, whereas in PC2 I get this error
   Error in HP.LUT[, 1] : incorrect number of dimensions
   HP.LUT is an object within a function computed as HP.LUT <- which(HP ==1,
   arr.in=TRUE), where HP is a binary matrix.
   HP.LUT is not returned for further use. I have made sure that no object with
   the name HP.LUT is present in either PC1 and 2, and I have used both RStudio
   and R 3.01.
   So I am puzzled and wonder what the reason for this might be.
   Any hint will be much appreciated.
   Thank you very much for your attention
   Juan A. Balbuena


   Dr. Juan A. Balbuena
   Marine Zoology Unit
   Cavanilles Institute of Biodiversity and Evolutionary Biology
   University of
   P.O. Box 22085
   46071 Valencia, Spain
   e-mail: [4]j.a.balbuena at uv.es    tel. +34 963 543 658    fax +34 963 543 733
   NOTE! For shipments by EXPRESS COURIER use the following street address:
   C/ Catedrático José Beltrán 2, 46980 Paterna (Valencia), Spain.


   1. http://www.uv.es/%7Ebalbuena
   2. http://www.uv.es/cavanilles/zoomarin/index.htm
   3. http://cetus.uv.es/mullpardb/index.html
   4. mailto:j.a.balbuena at uv.es

More information about the R-help mailing list