### Error with running RMark -- Dimension in GETCMD exceeded.

Posted:

**Thu Oct 07, 2021 5:58 pm**Hi all, I am fairly new to RMark and MARK in general. I am trying to run a nesting success model though am having issues with the following error. Whenever I run the model, I receive the following error --- "Dimension in GETCMD exceeded".

I have tried to ensure my data frame is in the exact same format as the examples (all the required variables are there, and they are the same class as the example mallard data set). I have omitted extra covariates from my data set in case they were causing the issue but it has not resolved the error. I run my model with the following code:

Note I have also tried setting up the function as follows with no luck.

The error is thrown by R, and also appears at the end of the .OUT file.

One possibility I wondered is if I have set up my 'nocc' argument incorrectly. I have observations of nests over a number of years with varying intervals between observations. I assigned a variable of day 1 (the first day there was an observation) through to the final day there was an observation (4604). Similarly, I have my 'FirstFound', 'LastPresent', and 'LastChecked' variables set according this set up of observation days (the day between day 1 and day 4604).

Any help or guidance would be greatly appreciated!

I have tried to ensure my data frame is in the exact same format as the examples (all the required variables are there, and they are the same class as the example mallard data set). I have omitted extra covariates from my data set in case they were causing the issue but it has not resolved the error. I run my model with the following code:

- Code: Select all
`````

run_mark_function <- function(){

Null <- mark(data = mark_data, nocc = 4604, model = "Nest",

model.parameters = list(S=list(formula = ~1)))

return(collect.models())

}

mark_results <- run_mark_function()

```

Note I have also tried setting up the function as follows with no luck.

- Code: Select all
`run_mark_function <- function(){`

Null <- mark(data = mark_data, nocc = 4604, model = "Nest")

return(collect.models())

}

The error is thrown by R, and also appears at the end of the .OUT file.

One possibility I wondered is if I have set up my 'nocc' argument incorrectly. I have observations of nests over a number of years with varying intervals between observations. I assigned a variable of day 1 (the first day there was an observation) through to the final day there was an observation (4604). Similarly, I have my 'FirstFound', 'LastPresent', and 'LastChecked' variables set according this set up of observation days (the day between day 1 and day 4604).

Any help or guidance would be greatly appreciated!