ExifTool Forum

General => Other Discussion => Topic started by: Angela on January 23, 2018, 12:06:34 PM

Title: problems with exiftool in R
Post by: Angela on January 23, 2018, 12:06:34 PM
Hi folks,

I am trying to use exiftool as part of a R package called camtrapR. camtrapR uses exiftool to extract metadata from camera traps images and performance specific data analysis.

I successfully installed exiftool in my Mac 10.11.16 (The Captain). In fact when I run exiftool by typing "exiftool" in a Terminal window, I can see the User Contributed Perl Documentation. But when I type the function >Sys.which ("exiftool.exe") in R, it does not work.

I had already used exiftool with this R package seven months ago and had not had any problem. I do not know what happens now. Could give some advice, please?

Best,

Angela

Title: Re: problems with exiftool in R
Post by: Phil Harvey on January 23, 2018, 12:09:13 PM
Hi Angela,

On Mac, you shouldn't be running "exiftool.exe"; that is the Windows executable.  Instead, try just "exiftool", or maybe "/usr/local/bin/exiftool", or if necessary "perl /usr/local/bin/exiftool".  Which one you need will depend on the environment settings and how things are run from R.

- Phil