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

2009-05-18 Thread Antoine
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  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@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@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

__
R-help@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.


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

2009-05-18 Thread 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:



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@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@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.


__
R-help@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.


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

2009-05-18 Thread Uwe Ligges



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@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@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.


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

2009-05-18 Thread Ana Kolar
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@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.