----- Forwarded message from
morphmet_modera...@morphometrics.org -----
Date: Fri, 31 Jan 2014
20:41:07 -0800
From: morphmet_modera...@morphometrics.org
Reply-To: morphmet_modera...@morphometrics.org
Subject: digitize2d
problem
To: morphmet@morphometrics.org
----- Forwarded message from "Alejo ."
<alejo.c.scar...@gmail.com> -----
Date: Fri, 31 Jan 2014
09:34:36 -0500
From: "Alejo ." <alejo.c.scar...@gmail.com>
Reply-To: "Alejo ." <alejo.c.scar...@gmail.com>
Subject:
digitize2d problem
To: morphmet@morphometrics.org
Hi all, I am trying to to digitize two-dimensional(2D) landmarks
from .jpg files using digitize2d in
geomorph without
success.
#First I set the work dir where the jpg files are:
setwd("Vulpes/test")
#then list the jpg's files in dir:
spec <-
list.files()[grep("jpg",
list.files())]
#Now I have a character vector of jpg's filenames and run:
digitize2d(spec, nlandmarks=5, scale=1)
#and
this error appears:
Error in basename (file):
a character vector is expected as an
argument
#The command diitize2d is
quite straightforward but always I get that error. I feed digitize2d whit a
character vector so I don't know what is happening. Any help is welcome!
Thanks in
advance.
Alejo
----- End forwarded message
-----
----- End forwarded
message -----