From pgilbert@bank-banque-canada.ca  Mon Aug 17 17:13:28 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Mon, 17 Aug 1998 12:13:28 -0400
Subject: R-beta: base not loading
References: <199808111434.QAA19036@sophie.ethz.ch> <x27m091ad9.fsf@biostat.ku.dk>
Message-ID: <98Aug17.122121edt.13448@mailgate.bank-banque-canada.ca>

> NOTE: Looking at  RHOME/library/base/R/base (which is the R file that is
>       NOT correctly loaded by the internal C code),
>       I now bet, that it is  .Alias(.)  which is failing;  more exactly,
>       line 64
>       colours <- .Alias(colors)

In my RHOME/library/base/R/base this is line 7105. Based on hints from Peter
Dalgaard and Brian Ripley I discovered that the setting of LC_COLLATE affects
the result of ls, but does not seem to be responsible for the very different
order in which things are arranged in RHOME/library/base/R/base. (Apparently the
setting of LC_COLLATE is part of a choice about locale made during the
installation of Solaris 2.6, so not everyone will have it set.)

One can
    unsetenv LC_COLLATE
which changes the result of ls, but on re-installing R this does not seem to
affect the order of things in RHOME/library/base/R/base (and I have still not
figured out why it is different between 2.5 and 2.6).

On the other hand, removing
    ## nice to the English
    colours <- colors
from RHOME/library/base/R/base seems to fix everything. This assignment seems
to be replicated by
   colours <- .Alias(colors)
and so I guess Peter's fix is the right one.

Paul Gilbert



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-beta: base not loading
Paul Gilbert