[R] Error message in SPACECAP package

PIKAL Petr petr.pikal at precheza.cz
Tue Nov 5 14:06:43 CET 2013


Although I do not know about SPACECAP here are few hints.

Usually attachment does not go through, use dput instead.
Copy output of


to the mail.


Gives you (and us if you show the output) some info about your data mode.

My opinion is that some column is not the correct type for used function.


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Miroslav Kutal
> Sent: Monday, November 04, 2013 12:11 PM
> To: r-help at r-project.org
> Subject: [R] Error message in SPACECAP package
> Dear all
> I've tried a spatial capture-recapture in SPACECAP package but got
> stuck after uploading the input data files:
> "Error in animal capture details file - non-integer or missing values"
> Error in if (locso[loc, so + 3] == 0) { :
> missing value where TRUE/FALSE needed
> I prepared the input capture file according to the manual and the file
> should consist from three columns: LOC_ID, ANIMAL_ID, SO (sampling
> occasion) so actually no TRUE/FALSE type of data..
> I am attaching also the input capture file. Because I am not familiar
> with all R functions I would appreciate any suggestion for solving this
> problem.
> Thank you,
> Miroslav Kutal

More information about the R-help mailing list