Skip to content

Runtime Error! Keep on happening while using amap, anacor and ca pckg

4 messages · Ana Kolar, Uwe Ligges, Antoine

#
Ana Kolar wrote:
Where is code that reproduces the error?

Uwe Ligges
#
After Ana Kolar sent me some code in a private mesage:

I reduced that to a minimal example that crashed R - due to a bug in 
amap - hence CCing the amap maintainer to whom the original report 
should have gone anyway:

The function  matlogic() in package amap, or more particular the call to:

     .C("matind", as.integer(nblev), as.integer(x),
         res = res, as.integer(n), as.integer(m), as.integer(k),
         PACKAGE = "amap")

crashes R reproducibly with the following piece of code:


library(amap)
dat <- data.frame(a=rep(0,3), b=rep(1,3))
replicate(100, matlogic(dat))

with

Package:       amap
Version:       0.8-2
Date:          2007-10-03

under R version 2.9.0 Patched (2009-04-27 r48414)
OS: Windows XP Pro 32-bit, SP3


Best wishes,
Uwe Ligges
Uwe Ligges wrote:
#
Hi,

Thanks for this detailed bug, I have fixed it.

I upload a patch on cran (amap with version 0.8-3)

Antoine.


On Mon, 18 May 2009 14:20:21 +0200
Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote: