[R] Check errors
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Mon Jul 24 15:00:21 CEST 2000
On 24 Jul 2000, Peter Dalgaard BSA wrote:
> Christian Hennig <fm3a004 at math.uni-hamburg.de> writes:
>
> > There were several warnings in base-Ex.Rout, which I will add at the end
> > of the mail, but they do not seem to be too serios to me.
>
> They aren't.
> > > # save all data
> > > save(list = ls(), file= "all.Rdata")
> > >
> > > # restore the saved values to the current environment
> > > load("all.Rdata")
> > Error in load("all.Rdata") : restore file corrupted -- no data loaded
> > Execution halted
>
> This would be the culprit. Does this also happen if you repeat those
> lines inside R?
>
> > Can anybody help me further?
> > Comments on the "library(mclust)-error" reported below are appreciated as well.
> > Perhaps this is independent of the "check"-problem?
>
> Most likely.
>
> > platform i586-pc-linux-gnulibc1
> ^^^^^^^^
>
> This could be a source of problems, SuSE 5.2 is getting pretty old (6.4
> is current AFAIR). Upgrading might be the fastest way out.
>
> > * In my work with this R-1.1.0 up to now everything worked fine except
> >
> > > library(mclust)
> > /usr/applic/packages/R/lib/R/bin/R.bin: can't resolve symbol '__moddi3'
> > /usr/applic/packages/R/lib/R/bin/R.bin: can't resolve symbol '__divdi3'
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > unable to load shared library "/usr/applic/packages/R/lib/R/library/mclust/libs/mclust.so":
> > Unable to resolve symbol
> > Error in library(mclust) : .First.lib failed
> >
> > (This happened with R-0.64.0 on the same system as well, and also under
> > Solaris. I assume that f2c has to be installed to prevent this, because
> > mclust works on the only machine in our institute where f2c is installed.)
>
> Hmm. What about the built-in packages (e.g. ctest)? Did you use R
> INSTALL correctly to install mclust (or install.packages('mclust'))?
I suspect this just means that you do not have the current mclust.
It happened often prior to mclust_1.1-1.tar.gz (around 0.64 time).
> In general, you need to link the shared library with the fortran libs,
> either -lg2c or -lf2c. Older compilers may not be getting this right.
If that is the problem then make check on modreg should not work.
What is FLIBS in .../etc/Makeconf? Does it contain -lg2c?
--
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list