Hello all! I am trying out FIELDimageR and am having trouble loading the sample image (and my own image). I’m getting the following error when running EX1<-stack(“EX1_RGB.tif”): “Error in data.frame(values = unlist(unname(x)), ind, stringsAsFactors = FALSE) : arguments imply differing number of rows: 1, 0”
I’m not sure how to proceed.
I’ve attached the following screen shot that shows the error:
Thanks for your reply jkairo. Yes, I have called setwd() to my home folder, where the files are located. I have also made sure that I have the correct permissions to access the files.
Update: I recreated the environment and that has resolved the problem. It looks like my errors were caused by a bad setup.