I've been trying to convert an .inp file created from a MARK simulation output and use it in RMark.
This is the code and resulting error:
- Code: Select all
> msrcv <- convert.inp("msrcv_sim.inp")
Warning message:
In readLines(inp.filename) : incomplete final line found on 'msrcv_sim.inp'
What does this mean? What is wrong with this .inp, it looks fine to me (and it runs in MARK)?
Here is the head and tail of the .inp file:
- Code: Select all
> msrcv[1:5,]
ch freq
1 0000100011000000000000D0000000000000000000000000 1
2 010010000000000000000000000000001000110010000000 1
3 100010D00000000000000000000000000000000000000000 2
4 01000000000011D000000000000000000000000000000000 1
5 000000000100110011000000000000000000010000000000 1
- Code: Select all
> msrcv[1364:1369,]
ch freq
1364 000000000000000000000000000000000000000010001100 1
1365 000000000000000000000000000011000000110000D00000 1
1366 000000000000000000000000000000000100000001000000 1
1367 00000000000000000000000000000000010010D000000000 1
1368 000000000000000000000000000000001000010011000000 1
1369 0000000000000000000000000000000000000000110000D0 1
I was able to use this input file in MARK and run a model without errors. My models won't run in RMark and I'm wondering if this error is the cause.
I'm still working out bugs in the rest of my RMark script... I will probably post those soon to see if therein lie(s) the problem(s).
Thank you,
Claudia