many thanks for the response.
I tried compiling without optimization and it still gives me the same
problem.
Would you think it is something related to the package? Could it be that I
should use another version  of the particular package than the one included?
Or could it be something with the way the results are compared?
Would you suggest I can trust this version of R for performing the
statistical analysis I am after?
many thanks,
georgios


On Tue, Mar 25, 2008 at 6:39 PM, Prof Brian Ripley <ripley@stats.ox.ac.uk>
wrote:

> I saw this yesterday, on my newly reinstalled iMac (10.5.2), with the
> Xcode compiler + gfortran from R 2.6.2.
>
> It looks very like a compiler bug: if I insert a printf statement in
> stem.c I get the correct answer, and if I compile src/appl/stem.c without
> optimization I get the correct answer.
>
> So, I suggest lowering the optimization level, but the worry always is
> that if you have one piece of code miscompiled there may be others.
>
> On Tue, 25 Mar 2008, Georgios Marentakis wrote:
>
> > Dear all, I have been following the instructions on
> > http://cran.stat.sfu.ca/with the intention to install R with 64 bits
> > support on an 8 core Intel Mac
> > with 6 GB of memory. I am doing this so I can run an analysis that
> requires
> > 1.6 gB of memory allocation and would not run on 32 bit version of R as
> I
> > was advised and experienced.
> > I have installed gcc 4.2 and gfortran 4.2 from the available sources on
> the
> > web page and am using the copy and paste guide on the page.
> >
> > Now everything seems to be going fine until the point where the R
> packages
> > are tested. In particular when the regression tests are run I get the
> > following.
> >
> > running regression tests
> > running code in 'reg-tests-1.R' ...\c
> > OK
> > running code in 'reg-tests-2.R' ...\c
> > OK
> > comparing 'reg-tests-2.Rout' to './reg-tests-2.Rout.save' ...\c
> > 3756c3756
> > <   The decimal point is 1 digit(s) to the right of the |
> > ---
> >>   The decimal point is at the |
> > 3762c3762
> > <   The decimal point is 1 digit(s) to the right of the |
> > ---
> >>   The decimal point is 1 digit(s) to the left of the |
> > 3764c3764
> > <   0 | 1111111111
> > ---
> >>   1 | 0000000000
> > make[3]: *** [reg-tests-2.Rout] Error 1
> > make[2]: *** [test-Reg] Error 2
> > make[1]: *** [test-all-basics] Error 1
> > make: *** [check] Error 2
> >
> > Would any of you be able to point me to what is the reason for this?
> > thanks,
> > georgios
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
>
> --
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/>
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>

	[[alternative HTML version deleted]]

