R-beta: base not loading

Paul Gilbert pgilbert@bank-banque-canada.ca
Mon, 17 Aug 1998 12:13:28 -0400

> 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