[R] Check errors

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Jul 24 14:36:44 CEST 2000


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'))?

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.
  
-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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