Re: [R] R crash

2013-04-10 Thread ONKELINX, Thierry
Have a look at the warning in ?geepack::geeglm It should be mentioned in 
?geepack::geese as well.

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and 
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02 51
+ 32 54 43 61 85
thierry.onkel...@inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than 
asking him to perform a post-mortem examination: he may be able to say what the 
experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure 
that a reasonable answer can be extracted from a given body of data.
~ John Tukey

-Oorspronkelijk bericht-
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens 
Tasnuva Tabassum
Verzonden: dinsdag 9 april 2013 20:41
Aan: R help
Onderwerp: [R] R crash

I have a generalized linear model to solve. I used package "geepack". When I 
use the correlation structure "unstructured", I get a messeage that- R GUI 
front-end has stopped working. Why this happens? What is the solution?
The r codes are as follows:
a<-read.table("d:/bmt.txt",header=T")
cutoffs<-c(1.75,3.34,5.09,6.93,9.11,11.8,15.3,20.1,23.7,27.3,30.9,34.3,37.6,41.5,46.5,51.1,57,63,73.1,93.68)
a$icr <- REL
library(pseudo)
pseudo <- pseudoci(time=a$TIME,event=a$icr,tmax=cutoffs)

#rearranging data
b <- NULL
 for(it in 1:length(pseudo$time)){
 b <- rbind(b,cbind(a,pseudo = pseudo$pseudo[[1]][,it],  tpseudo = 
pseudo$time[it],id=1:nrow(a)))  }  b <- b[order(b$id),]


 library(geepack)

fit3 <-  geese(pseudo ~ as.factor(AGE) + as.factor(WEIGHT) +
as.factor(HEIGHT) ,
data =b, id=id, jack = TRUE, scale.fix=TRUE, mean.link = "logit", 
corstr="unstructured")

#The results using the AJ variance estimate cbind(mean = round(fit3$beta,4), SD 
= round(sqrt(diag(fit3$vbeta.ajs)),4),
Z = round(fit3$beta/sqrt(diag(fit3$vbeta.ajs)),4),
PVal = round(2-2*pnorm(abs(fit3$beta/sqrt(diag(fit3$vbeta.ajs,4))

[[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.
* * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * *
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en 
binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is 
door een geldig ondertekend document.
The views expressed in this message and any annex are purely those of the 
writer and may not be regarded as stating an official position of INBO, as long 
as the message is not confirmed by a duly signed document.

__
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] R crash

2013-04-09 Thread Duncan Murdoch

On 13-04-09 2:41 PM, Tasnuva Tabassum wrote:

I have a generalized linear model to solve. I used package "geepack". When
I use the correlation structure "unstructured", I get a messeage that- R
GUI front-end has stopped working. Why this happens? What is the solution?


Presumably geepack has a bug.  You should simplify your example as much 
as you can and send it to the maintainer of that package.


Duncan Murdoch


The r codes are as follows:
a<-read.table("d:/bmt.txt",header=T")
cutoffs<-c(1.75,3.34,5.09,6.93,9.11,11.8,15.3,20.1,23.7,27.3,30.9,34.3,37.6,41.5,46.5,51.1,57,63,73.1,93.68)
a$icr <- REL
library(pseudo)
pseudo <- pseudoci(time=a$TIME,event=a$icr,tmax=cutoffs)

#rearranging data
b <- NULL
  for(it in 1:length(pseudo$time)){
  b <- rbind(b,cbind(a,pseudo = pseudo$pseudo[[1]][,it],
  tpseudo = pseudo$time[it],id=1:nrow(a)))
  }
  b <- b[order(b$id),]


  library(geepack)

fit3 <-  geese(pseudo ~ as.factor(AGE) + as.factor(WEIGHT) +
as.factor(HEIGHT) ,
data =b, id=id, jack = TRUE, scale.fix=TRUE,
mean.link = "logit", corstr="unstructured")

#The results using the AJ variance estimate
cbind(mean = round(fit3$beta,4), SD = round(sqrt(diag(fit3$vbeta.ajs)),4),
Z = round(fit3$beta/sqrt(diag(fit3$vbeta.ajs)),4),
PVal = round(2-2*pnorm(abs(fit3$beta/sqrt(diag(fit3$vbeta.ajs,4))

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



__
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] R crash when i'm using lme function

2012-05-05 Thread Ben Bolker
gaiarrido  usal.es> writes:

> When I try to adjust a mixed model with random effects I can make this order
> without problem
> 
> > lm.FA<-lme(absFA~trait*condition,random=~1|individual)
> 
> But if I try to fit a model in which the response (absFA) is not the same in
> all individuals at different levels of "trait" factor , but varies randomly
> from each. That is, this order
> 
> > lm.FA2<-lme(absFA~rasgo*condicion,random=~rasgo|individuo)
> 
> R hangs and crashes, I've tried both with R 2.13 and with  R 2.15.
> 

  This is not reproducible ... and would be better on the
r-sig-mixed-models  r-project.org list.  If/when you repost,
more details would be useful:

 * how big is your data set (number of individuals, total
number of observations)?
 * are you including a data= argument in your calls?  It is
generally considered good practice.
 * your predictor variables are different in the two calls --
are you using different data sets, or different predictors,
(i.e. 'condicion' vs 'condition', 'individual' vs 'individuo',
'rasgo' vs 'trait'), or is this a typo?
 * have you checked to see that all variables are of the type
you think they should be (numeric vs factor)?
 * do you actually have multiple observations with different
trait values within at least some individuals?
 * see , or the posting
guide, for information about reproducible examples ...

__
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] R crash

2011-09-21 Thread Ivan Calandra

Dear Duncan,

Thanks for the info. I'll be waiting for it then.
I once tried to contact the maintainer of this package, but never got an 
answer; so I haven't tried this time. I'll try again.


Ivan

Le 9/21/2011 13:45, Duncan Murdoch a écrit :

On 11-09-21 5:12 AM, Ivan Calandra wrote:

Dear Barry,

Thanks for your input, that is indeed a very good idea (shame on me not
to have thought about it...).

As expected, it works fine on Windows XP, but crashes on Windows 7 at
dev.off (which means that the svg file is correctly created, but R
crashes every time, a bit annoying). This is therefore a devSVG problem
on Windows 7.

Now, does anyone know how to fix this?


RSvgDevice is a contributed package; you should contact the maintainer 
of it.  There's also an svg() device in the upcoming R 2.14.0 on 
Windows (it has been on Unix-alikes for longer, I think); perhaps it 
will do what you need.


Duncan Murdoch



TIA,
Ivan

Le 9/21/2011 10:34, Barry Rowlingson a écrit :

On Wed, Sep 21, 2011 at 8:57 AM, Ivan Calandra
   wrote:

Dear users,
I therefore don't provide a reproducible example and do not really 
extract
the relevant parts of the script because it has most likely nothing 
to do

with the script itself. I can do it though if you think it might be
relevant.

   In which case you could reduce your code to something we can all try
- does this crash for you:

library(RSvgDevice)
devSVG(file="foo.svg")
plot(1:10)
dev.off()

   - if not then something I've taken from your script is causing the
problem. Add bits back until it crashes.

   - if it does still crash then its likely a fundamental devSVG
problem, and you've now got something that hundreds of people reading
this can just cut n paste and go 'me too' or 'crashes for me'.

Barry








--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Dept. Mammalogy
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calan...@uni-hamburg.de

**
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php

__
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] R crash

2011-09-21 Thread Ivan Calandra
I think Duncan answered it: because there is no svg() in R2.13.1 for 
Windows.

Thank you for your help
Ivan

Le 9/21/2011 13:40, Barry Rowlingson a écrit :

On Wed, Sep 21, 2011 at 10:12 AM, Ivan Calandra
  wrote:

Dear Barry,

Thanks for your input, that is indeed a very good idea (shame on me not to
have thought about it...).

As expected, it works fine on Windows XP, but crashes on Windows 7 at
dev.off (which means that the svg file is correctly created, but R crashes
every time, a bit annoying). This is therefore a devSVG problem on Windows
7.

Now, does anyone know how to fix this?

  Why are you using that svg device when there's a perfectly good one
included in R? See help(svg).

Barry



--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Dept. Mammalogy
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calan...@uni-hamburg.de

**
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php

__
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] R crash

2011-09-21 Thread Duncan Murdoch

On 11-09-21 5:12 AM, Ivan Calandra wrote:

Dear Barry,

Thanks for your input, that is indeed a very good idea (shame on me not
to have thought about it...).

As expected, it works fine on Windows XP, but crashes on Windows 7 at
dev.off (which means that the svg file is correctly created, but R
crashes every time, a bit annoying). This is therefore a devSVG problem
on Windows 7.

Now, does anyone know how to fix this?


RSvgDevice is a contributed package; you should contact the maintainer 
of it.  There's also an svg() device in the upcoming R 2.14.0 on Windows 
(it has been on Unix-alikes for longer, I think); perhaps it will do 
what you need.


Duncan Murdoch



TIA,
Ivan

Le 9/21/2011 10:34, Barry Rowlingson a écrit :

On Wed, Sep 21, 2011 at 8:57 AM, Ivan Calandra
   wrote:

Dear users,
I therefore don't provide a reproducible example and do not really extract
the relevant parts of the script because it has most likely nothing to do
with the script itself. I can do it though if you think it might be
relevant.

   In which case you could reduce your code to something we can all try
- does this crash for you:

library(RSvgDevice)
devSVG(file="foo.svg")
plot(1:10)
dev.off()

   - if not then something I've taken from your script is causing the
problem. Add bits back until it crashes.

   - if it does still crash then its likely a fundamental devSVG
problem, and you've now got something that hundreds of people reading
this can just cut n paste and go 'me too' or 'crashes for me'.

Barry





__
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] R crash

2011-09-21 Thread Barry Rowlingson
On Wed, Sep 21, 2011 at 10:12 AM, Ivan Calandra
 wrote:
> Dear Barry,
>
> Thanks for your input, that is indeed a very good idea (shame on me not to
> have thought about it...).
>
> As expected, it works fine on Windows XP, but crashes on Windows 7 at
> dev.off (which means that the svg file is correctly created, but R crashes
> every time, a bit annoying). This is therefore a devSVG problem on Windows
> 7.
>
> Now, does anyone know how to fix this?

 Why are you using that svg device when there's a perfectly good one
included in R? See help(svg).

Barry

__
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] R crash

2011-09-21 Thread Ivan Calandra

Dear Barry,

Thanks for your input, that is indeed a very good idea (shame on me not 
to have thought about it...).


As expected, it works fine on Windows XP, but crashes on Windows 7 at 
dev.off (which means that the svg file is correctly created, but R 
crashes every time, a bit annoying). This is therefore a devSVG problem 
on Windows 7.


Now, does anyone know how to fix this?

TIA,
Ivan

Le 9/21/2011 10:34, Barry Rowlingson a écrit :

On Wed, Sep 21, 2011 at 8:57 AM, Ivan Calandra
  wrote:

Dear users,
I therefore don't provide a reproducible example and do not really extract
the relevant parts of the script because it has most likely nothing to do
with the script itself. I can do it though if you think it might be
relevant.

  In which case you could reduce your code to something we can all try
- does this crash for you:

library(RSvgDevice)
devSVG(file="foo.svg")
plot(1:10)
dev.off()

  - if not then something I've taken from your script is causing the
problem. Add bits back until it crashes.

  - if it does still crash then its likely a fundamental devSVG
problem, and you've now got something that hundreds of people reading
this can just cut n paste and go 'me too' or 'crashes for me'.

Barry



--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Dept. Mammalogy
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calan...@uni-hamburg.de

**
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php

__
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] R crash

2011-09-21 Thread Barry Rowlingson
On Wed, Sep 21, 2011 at 8:57 AM, Ivan Calandra
 wrote:
> Dear users,

> I therefore don't provide a reproducible example and do not really extract
> the relevant parts of the script because it has most likely nothing to do
> with the script itself. I can do it though if you think it might be
> relevant.

 In which case you could reduce your code to something we can all try
- does this crash for you:

library(RSvgDevice)
devSVG(file="foo.svg")
plot(1:10)
dev.off()

 - if not then something I've taken from your script is causing the
problem. Add bits back until it crashes.

 - if it does still crash then its likely a fundamental devSVG
problem, and you've now got something that hundreds of people reading
this can just cut n paste and go 'me too' or 'crashes for me'.

Barry

__
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] R-crash when loading workspace - Windows

2009-09-07 Thread Mark Knecht
On Mon, Sep 7, 2009 at 1:08 PM, Duncan Murdoch wrote:
> On 07/09/2009 10:34 AM, sebed1110-div...@yahoo.fr wrote:
>>
>> Dear all,
>>
>> One day when I tried to load an existing workspace (when opening R or by
>> load()), R crashed without any error notification.
>> The day before I had worked  and saved my workspace without any trouble.
>> At first I though it was a memory problem (workspace reaching 180Mo) or
>> related to a particular script or command, so I start a new workspace.
>> Everything was ok, that script and others working. Then I saved the
>> workspace (55Mo) and tried to open it, without any result : R crashes
>> without any notification again.
>> This occurs only with Windows.
>> Does someone know how to solve that problem?
>
> You need to come up with a simple scheme to reproduce it, and then someone
> else will debug it, or you need to debug it yourself.
>
> If you're willing to let me download the saved workspace, I could give it a
> try.  (I can't accept an email that big, you'll need to put it up for http
> or ftp download.)
>
> Duncan Murdoch

Wouldn't urt to uninstall and then reinstall Rgui. (I'm assuming this
is Rgui?) Maybe a file got corrupted and a reinstall will clear things
up?

Cheers,
Mark

__
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] R-crash when loading workspace - Windows

2009-09-07 Thread Duncan Murdoch

On 07/09/2009 10:34 AM, sebed1110-div...@yahoo.fr wrote:

Dear all,

One day when I tried to load an existing workspace (when opening R or by 
load()), R crashed without any error notification.
The day before I had worked  and saved my workspace without any trouble.
At first I though it was a memory problem (workspace reaching 180Mo) or related 
to a particular script or command, so I start a new workspace. Everything was 
ok, that script and others working. Then I saved the workspace (55Mo) and tried 
to open it, without any result : R crashes without any notification again.
This occurs only with Windows. 


Does someone know how to solve that problem?


You need to come up with a simple scheme to reproduce it, and then 
someone else will debug it, or you need to debug it yourself.


If you're willing to let me download the saved workspace, I could give 
it a try.  (I can't accept an email that big, you'll need to put it up 
for http or ftp download.)


Duncan Murdoch

__
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] R crash after fGarch update

2009-02-17 Thread John Kerpel
Prof Ripley:

Many thanks - it did indeed say it cannot find fGarch after I tried your
advice - but a completely clean re-install did the trick.

John

On Tue, Feb 17, 2009 at 1:09 AM, Prof Brian Ripley wrote:

> Start R with --vanilla, or rename youe saved workspace (.RData).
> Then
>
> library(fGarch)
> load(".RData")  # or whatever you renamed it to.
>
> This will either work or (more ikely) tell you it cannot find fGarch or a
> package it depends on).
>
> On Mon, 16 Feb 2009, John Kerpel wrote:
>
> Hi folks!
>> After updating my packages my R seems to have completely crashed as will
>> not
>> start up - even after I installed 2.8.1 from 2.8.0.
>>
>
> You haven't told us your OS: I am guesing Windows.
>
>  I get the following:
>>
>> Fatal error: unable to restore saved data in .Rdata
>>
>> Error in loadNamespeace(name): there is no package called fGarch
>>
>> But I do have a package called fGarch.
>>
>> After I hit ok, it crashes and exits.  I cannot use any functionality at
>> all.  What do I do?
>>
>> John
>>
>>[[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.
>>
>>
> --
> Brian D. Ripley,  rip...@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel:  +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UKFax:  +44 1865 272595
>

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


Re: [R] R crash after fGarch update

2009-02-16 Thread Prof Brian Ripley

Start R with --vanilla, or rename youe saved workspace (.RData).
Then

library(fGarch)
load(".RData")  # or whatever you renamed it to.

This will either work or (more ikely) tell you it cannot find fGarch 
or a package it depends on).


On Mon, 16 Feb 2009, John Kerpel wrote:


Hi folks!
After updating my packages my R seems to have completely crashed as will not
start up - even after I installed 2.8.1 from 2.8.0.


You haven't told us your OS: I am guesing Windows.


I get the following:

Fatal error: unable to restore saved data in .Rdata

Error in loadNamespeace(name): there is no package called fGarch

But I do have a package called fGarch.

After I hit ok, it crashes and exits.  I cannot use any functionality at
all.  What do I do?

John

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



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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] R crash with dyn.load

2008-12-18 Thread Martyn Plummer
On Thu, 2008-12-18 at 17:18 +0100, Thibault Helleputte wrote:
> Hello,
> 
> I try to incorporate C code in R.
> 
> suppose I have the following C code:
> 
> #include 
> #include 
> 
> int main(int *n)
> {
> int i;
> for(i=0; i < *n; i++) {
> printf("Hello, world!\n");
> }
>  }
> 
> 
> in a file named "hello.c". First I make:
> 
> g++ -c hello.c -o hello.o -I
> "/Library/Frameworks/R.framework/Versions/2.8/Headers/"
> g++ -dynamic hello.o -o hello.so
> 
> I work on mac, and that's why I have to set the -dynamic option. First
> of all, I don't understand why I have to specify the path to R.h, but if
> I don't, R.h isn't found.
> 
> My problem is the following: once the .so is generated, without any
> warning or error, I open my R envirronment and type
> 
> > dyn.load("/path/to/my/hello.so")
> 
> then push on enter, and then R runs  hours, without giving me the
> command invite again. What am I doing wrong?

It might have something to do with the fact that you call your function
"main". Try renaming it.

Also have a look at section 5.5 of the "Writing R Extensions" manual on
creating shared objects for loading into R.

Martyn

> Thank you.

---
This message and its attachments are strictly confidenti...{{dropped:8}}

__
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] R crash with ATLAS precompiled Rblas.dll on Windows XP Core2 Duo

2008-07-13 Thread Uwe Ligges



Prof Brian Ripley wrote:
Yes, that Rblas.dll is known to be faulty, and the person who built it 
is unable to re-build it.  It needs to be removed from CRAN.



Whoops, I forgot to remove it and will do so this afternoon.

Uwe


(I've also tried to build on Core 2 Duo, and my Cygwin installation has 
a compiler crash during the build.)


On Tue, 8 Jul 2008, Law, Jason wrote:


I noticed a problem using R 2.7.1 on Windows XP SP2 with the precompiled
Atlas Rblas.dll.  Running the code below causes R to crash.  I started R
using Rgui --vanilla and am using the precompiled Atlas Rblas.dll from
cran.fhcrc.org dated 17-Jul-2007 05:04 for Core2 Duo.

The code that causes the crash:

x <- rnorm(100)
y <- rnorm(100)
z <- rnorm(100)
loess(z ~ x * y)

loess(z ~ x) does not cause a crash using the Atlas BLAS and neither does
running the above code with the Rblas.dll that came with R 2.7.1.  In
addition, the code runs fine using the Atlas BLAS under R 2.6.2.

The windows error information that is printed to the screen when R 
closes:


AppName: rgui.exe AppVer: 2.71.45970.0 ModName: rblas.dll
ModVer: 2.51.42199.0 Offset: 000501cc


sessionInfo returns:

R version 2.7.1 (2008-06-23)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

I checked the R FAQ, R for Windows FAQ, and the README associated with 
the

Atlas BLAS on CRAN and couldn't find any information related to possible
crash causes.  I've used the ATLAS BLAS for about 6 months on this 
machine

(it's a new machine) with R 2.6.2.

Using debug(stats:::simpleLoess), I've found that the crash occurs on the
first iteration of the line:

z <- .C(R_loess_raw, as.double(y), as.double(x),
   as.double(weights), as.double(robust), as.integer(D),
   as.integer(N), as.double(span), as.integer(degree),
   as.integer(nonparametric), as.integer(order.drop.sqr),
   as.integer(sum.drop.sqr), as.double(span * cell),
   as.character(surf.stat), fitted.values = double(N),
   parameter = integer(7), a = integer(max.kd),
   xi = double(max.kd), vert = double(2 * D), vval = 
double((D

+
 1) * max.kd), diagonal = double(N), trL = double(1),
   delta1 = double(1), delta2 = double(1), 
as.integer(surf.stat

==
 "interpolate/exact"))

After that, I'm kind of stuck in terms of tracking it down.

Thanks for any input,

Jason Law
City of Portland, OR

__
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] R crash with ATLAS precompiled Rblas.dll on Windows XP Core2 Duo

2008-07-13 Thread Prof Brian Ripley
Yes, that Rblas.dll is known to be faulty, and the person who built it is 
unable to re-build it.  It needs to be removed from CRAN.


(I've also tried to build on Core 2 Duo, and my Cygwin installation has a 
compiler crash during the build.)


On Tue, 8 Jul 2008, Law, Jason wrote:


I noticed a problem using R 2.7.1 on Windows XP SP2 with the precompiled
Atlas Rblas.dll.  Running the code below causes R to crash.  I started R
using Rgui --vanilla and am using the precompiled Atlas Rblas.dll from
cran.fhcrc.org dated 17-Jul-2007 05:04 for Core2 Duo.

The code that causes the crash:

x <- rnorm(100)
y <- rnorm(100)
z <- rnorm(100)
loess(z ~ x * y)

loess(z ~ x) does not cause a crash using the Atlas BLAS and neither does
running the above code with the Rblas.dll that came with R 2.7.1.  In
addition, the code runs fine using the Atlas BLAS under R 2.6.2.

The windows error information that is printed to the screen when R closes:

AppName: rgui.exeAppVer: 2.71.45970.0ModName: rblas.dll
ModVer: 2.51.42199.0 Offset: 000501cc


sessionInfo returns:

R version 2.7.1 (2008-06-23)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

I checked the R FAQ, R for Windows FAQ, and the README associated with the
Atlas BLAS on CRAN and couldn't find any information related to possible
crash causes.  I've used the ATLAS BLAS for about 6 months on this machine
(it's a new machine) with R 2.6.2.

Using debug(stats:::simpleLoess), I've found that the crash occurs on the
first iteration of the line:

z <- .C(R_loess_raw, as.double(y), as.double(x),
   as.double(weights), as.double(robust), as.integer(D),
   as.integer(N), as.double(span), as.integer(degree),
   as.integer(nonparametric), as.integer(order.drop.sqr),
   as.integer(sum.drop.sqr), as.double(span * cell),
   as.character(surf.stat), fitted.values = double(N),
   parameter = integer(7), a = integer(max.kd),
   xi = double(max.kd), vert = double(2 * D), vval = double((D
+
 1) * max.kd), diagonal = double(N), trL = double(1),
   delta1 = double(1), delta2 = double(1), as.integer(surf.stat
==
 "interpolate/exact"))

After that, I'm kind of stuck in terms of tracking it down.

Thanks for any input,

Jason Law
City of Portland, OR

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



--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

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