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

Antoine antoinelucas at gmail.com
Mon May 18 22:31:51 CEST 2009


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:

> 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:
> > 
> > 
> > Ana Kolar wrote:
> >> Hi there dear R users,
> >>  
> >> Does anyone have any idea what the following error means and how to sort
> >> it out?
> >>  
> >> Runtime Error!
> >> Program: C\Program Files\R\R-2.9.0\bin\Rgui.exe
> >>  
> >> This application has requested the Runtime to terminate it in an unusual
> >> way. Please contact the application’s support team for more 
> >> information.
> >>  
> >> Here is the story:
> >> Running the same code, sometimes the error happens and other times it 
> >> doesn’t.
> >> It all started while still using the old R version; therefore I looked
> >> for the updates and its keep on happening with the new version too.
> >>  
> >> The packages that I am using while experiencing this continues error are
> >> the following:
> >> amap
> >> anacor
> >> ca
> >>  
> >> Please help!
> >>  
> >> Ana
> >>
> >>
> >>           [[alternative HTML version deleted]]
> >>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> ______________________________________________
> >> R-help at r-project.org mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide 
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.
> > 
> > 
> > Where is code that reproduces the error?
> > 
> > Uwe Ligges
> > 
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide 
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.


-- 
Tel: 02 98 32 43 78
Tel: 06 28 23 63 35
Antoine Lucas




More information about the R-help mailing list