[R] hclust-segmentation fault
Martin Maechler
maechler at stat.math.ethz.ch
Mon Aug 9 18:15:51 CEST 2004
>>>>> "MarioM" == Medvedovic, Mario (medvedm) <medvedm at UCMAIL.UC.EDU>
>>>>> on Mon, 9 Aug 2004 11:31:45 -0400 writes:
MarioM> Well, the use of debugger will take some time
well
did you try
R -d gdb
<... GDB welcome messages....>
<... GDB welcome messages....>
run
and then the R commands and after the segmentation fault, simply
bt
{ = 'backtrace' =^= traceback() in R }
?
MarioM> but here is a simple code that invariably causes the
MarioM> fault. Mario.
indata <- matrix(rnorm(1000,0,1),ncol=10)
ed <- dist(indata)
hc.e <- hclust(ed,"average")
to make this really reproducible you'd have to give a
set.seed(<n>)
at the beginning. But since you say it's "invariably", that's ok.
As for Prof Ripley's, these R calls also work here on our Opteron
machine w/o a problem.
Martin Maechler
>> -----Original Message----- From: Prof Brian Ripley
>> [mailto:ripley at stats.ox.ac.uk] Sent: Monday, August 09,
>> 2004 11:14 AM To: Medvedovic, Mario (medvedm) Cc:
>> 'r-help at stat.math.ethz.ch' Subject: Re: [R]
>> hclust-segmentation fault
>>
>>
>> On Mon, 9 Aug 2004, Medvedovic, Mario (medvedm) wrote:
>>
>>> I am getting the "Segmentation fault" when using hclust
>>> in
>> R-1.9.1 running
>>> under SuSe 9.0 64-bit kernel on a dual opteron system
>>> with
>> 8G of RAM.
>>> I was wandering if anybody could offer any insight?
>> Please try to use the debugger to supply more
>> information, or give us some code we can reproduce on a
>> similar system to see if we can reproduce the segfault.
>>
>> --
>> Brian D. Ripley, ripley at 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, UK Fax:
>> +44 1865 272595
>>
MarioM> ______________________________________________
MarioM> R-help at stat.math.ethz.ch mailing list
MarioM> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
MarioM> PLEASE do read the posting guide!
MarioM> http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list