[R-sig-Geo] New version of adehabitatLT and adehabitatHR
Clément Calenge
clement.calenge at oncfs.gouv.fr
Fri May 20 20:24:07 CEST 2011
Hello,
> I am trying to rediscretize a trajectory with steps of equal duration, and
> having trouble with the "redisltraj" function in the updated AdehabitatLT. I
> have an irregular trajectory with locations sampled approximately every 60
> seconds. I am able to turn this into a regular trajectory with a 60 second
> time interval with no problems. However, I would also like to resample the
> trajectory at lower resolution, for example 120 second intervals. Whenever I
> try to use the redisltraj function with a duration longer than the original
> interval, R quits with no warning, or gives the following error, then quits:
>
> The instruction at "0x6c72c504" referenced memory at "0xc0240004". The
> memory could not be "read."
> Click on OK to terminate the program
> Click on CANCEL to debug the program
>
>
> I have tried this with several different datasets and get the same result
> whenever I try to increase
> the duration. This problem doesn't occur using any duration shorter than the
> original. Is this a bug in
> the redisltraj function that can be corrected, or am I simply misusing it?
You are right, there is actually a bug. I have fixed it and uploaded a
new version of the package to CRAN.
Binary versions will soon be available for downloading.
Thanks for reporting,
Best regards,
Clément Calenge
--
Clément CALENGE
Cellule d'appui à l'analyse de données
Direction des Etudes et de la Recherche
Office national de la chasse et de la faune sauvage
Saint Benoist - 78610 Auffargis
tel. (33) 01.30.46.54.14
More information about the R-sig-Geo
mailing list