I know, there was similar question asked a while ago ("'Calloc 'could not allocate memory" in 64-bit R), and I tried to ask over there, but I was deleted... although as I said in my question, I did try their solutions (updating plugins), but it didn't work for me. Sooo, let me try again :)
When I try to use kernelUD()
function from adehabitatHR
package, depending on h
parameter value I get that error. It's working with h="href"
parameter, but not with h="LSCV"
(different smoothing parameter)
require(adehabitatHR)
BCLoc <- puechabonsp$relocs[, 1] #data comes with adehabitatHR
BC.href <- kernelUD(BCLoc, h="href") #works :)
BC.LSCV <- kernelUD(BCLoc, h="LSCV") #gets error :(
Error in .kernelUDs(SpatialPoints(x, proj4string = CRS(as.character(pfs1))), :
'Calloc' could not allocate memory (18446744071710095360 of 8 bytes)
any ideas?