Uploading CTT receiver data in R issues

Hi everyone,

I cannot upload one of my CTT receivers in R and I am running out of options to access data using Motus R Book.

After following your typical Motus R Book guidelines to upload packages and setting your directory, I encounter an issue when running:

proj.num ← “CTT-5031194D3168” # IndianRidge3-MPG-MT
sql.motus ← tagme(proj.num, new = F, forceMeta = TRUE, update=TRUE)

What happens is that the very first batch ID (e.g. #1 of 1979) seems to run forever and never goes to the next batch ID (e.g., #2 of 1979).

Any idea on the cause of this issue?

Josh at Motus HQ had issues with this receiver a while back when trying to help me but it now works for him. I wonder if it is a computer compatibility problem as I am a Mac user (MacOS Catalina - Version 10.15.7).

I would appreciate any advice on this. I could try changing laptops to troubleshoot but ultimately want/need to use this particular laptop for future operations.

The same issue happens if I run the code without forcing metadata or forcing an update, or after deleting my receiver files and starting from scratch, or after uninstalling and then re-installing all my R packages.

Thanks for any feedback,

William Blake
IWC Motus Project #213 & #226

Hi William,
I had this same issue and it was making me crazy. The thing that fixed it for me was adding the path to the folder in the tagme function (see below). I don’t know if this is what actually fixed it OR if it was just something with the server because I was originally getting a server error.

Good luck, I hope this helps.

#proj.num ← “CTT-E7BE27B8582A”
#sql.motus ← tagme(projRecv = proj.num, new = T, dir = “C:/PATH TO YOUR FOLDER HERE”)

This may be due to the working directory being set to a read-only folder (e.g. c:\program files\ in windows).

To confirm, you can do:

getwd()

to change the working directory for your session:

setwd(“C:/PATH”)

Or, you can also set your working directory permanently for all sessions by changing your Rprofile file.

https://www.r-bloggers.com/2012/06/setting-your-working-directory-permanently-in-r/

Denis Lepage

Denis Lepage dlepage@bsc-eoc.org

Senior Director, Data Science and Technology

Birds Canada