----- Forwarded message from John Denton <jden...@amnh.org> -----

     Date: Tue, 2 Jul 2013 23:04:22 -0400
      From: John Denton <jden...@amnh.org>
      Reply-To: John Denton <jden...@amnh.org>
      Subject: tps format problem reading in R
      To: "morphmet@morphometrics.org" <morphmet@morphometrics.org>

Hi folks,

I'm trying to read a tps file in the geomorph v1.1-1 R package using

readland.tps("file"),

but every time I try the above, I get the error

Error in dimnames(coords)[[3]] <- imageID : 'dimnames' must be a list
In addition: Warning message:
In readland.tps("Lter_mean.TPS") : NAs introduced by coercion 

I do not get the error when I read in some of my other tps files (all of which 
were produced using append files in tpsUtil). The file I'm trying to read in is 
the side-averaged Procrustes coordinates, generated in MorphoJ. 

I've checked the hidden formatting, the line breaks, the number of decimal 
places, and the file extension, but I can't seem to figure it out. 

The file is attached. 

~John

John S. S. Denton
Ph.D. Candidate
Department of Ichthyology and Richard Gilder Graduate School
American Museum of Natural History
www.johnssdenton.com

----- End forwarded message -----

LM=24
-0.27679894 0.03823413
-0.24181075 0.07186293
-0.30821612 -0.02052203
-0.23962058 0.01463571
-0.22500563 -0.03390232
-0.16018292 -0.02337925
-0.14008450 -0.01556682
-0.15781351 -0.00148670
-0.14566682 -0.00068673
-0.13519143 -0.01836257
0.01859781 0.09327917
-0.05072087 -0.01434332
-0.04931119 -0.05192168
0.07333651 -0.04175397
0.19289905 0.03981661
0.05985395 -0.03090798
0.06810932 -0.01849469
0.07028498 0.01156864
0.17800594 -0.00694858
0.29158935 -0.01018050
0.30211257 -0.00679525
0.28462116 0.02615538
0.30883165 0.01220701
0.28218095 -0.01250718
IMAGE=XXXXXXX.jpg
ID=Lter_mean

Reply via email to