Skip to content
Prev 1416 / 63424 Next

R-beta: base not loading

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._