[R] Help with SpaceCAP

Bert Gunter bgunter.4567 at gmail.com
Mon Feb 29 18:26:58 CET 2016

The email server for this list filters out most attachments, including yours.

.txt attachments are generally permitted. As you seem to have
successfully read the files into R, use dput() to include (a small
portion if the data are numerous) of the data in your email. Before
doing so, however, examine your data frame with str().



Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Mon, Feb 29, 2016 at 5:08 AM, Tara Jane Pirie
<T.J.Pirie at pgr.reading.ac.uk> wrote:
> Hi there,
> I am trying to load csv files into the spacecap program in R, but I keep getting either or both of the following error messages:
> Error - mismatch in animal capture details and trap deployment details files : location id 29
> not deployed on SO 22
> Error in if (locso[loc, so + 3] == 0) { :
>   missing value where TRUE/FALSE needed
> I have checked the headings and only have 3 columns for the capture file and have double checked the trap locs. I have checked the working days for the flagged trap locations, but they are showing "1".
> Please can you help me understand why I am getting these messages. I have attached the files I have been trying to upload.
> Kind regards
> Tara Pirie
> Doctoral researcher - University of Reading
> People and Wildlife Research group
> Tel: +44 (0) 7340967711
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list