-------- Original Message -------- Subject: Re: ply files in R Date: Fri, 10 Jul 2009 13:29:30 -0700 (PDT) From: Joseph Kunkel <[email protected]> To: [email protected] CC: Joseph Kunkel <[email protected]> References: <[email protected]> In R there are several default library functions that read tables of numbers. If the ply file is ascii you can look at it to check its format visually. The read.table() function should read the ply file. Looking at the ascii file in an editor you will be able to know whether the x,y,z columns have headers naming the axes and whether you need to skip any lines to get to the header or data lines. The default for this function has the header=FALSE, so if you want the headers read automatically you need to set header=TRUE. Setting skip=n will skip n lines before reading data. The description for how to use this function can be found by typing: help(read.table) ... in the in the R console. Joe On Jul 10, 2009, at 9:34 AM, morphmet wrote:
-------- Original Message -------- Subject: ply files in R Date: Thu, 9 Jul 2009 15:00:28 -0700 (PDT) From: Dean Adams <[email protected]> To: [email protected] References: <[email protected]> Hello all. Does anyone know of a routine in R that reads ascii ply files? Thanks, Dean Dr. Dean C. Adams Associate Professor Department of Ecology, Evolution, and Organismal Biology Department of Statistics Iowa State University Ames, Iowa 50011 -- Replies will be sent to the list. For more information visit http://www.morphometrics.org
-·. .· ·. .><((((º>·. .· ·. .><((((º>·. .· ·. .><((((º> .··.·
=- =º}}}}}><
Joseph G. Kunkel, Professor Biology Department University of Massachusetts Amherst Amherst MA 01003 http://www.bio.umass.edu/biology/kunkel/ -- Replies will be sent to the list. For more information visit http://www.morphometrics.org
