R-beta: locale

Ina Dau ina at stats.ucl.ac.uk
Tue Jul 7 19:37:53 CEST 1998


On Tue, 7 Jul 1998, Bill Simpson wrote:

> To repeat, my problem was that the latest version of R broke my previously
> effortless install. Now I get a list of warnings from perl
> 
> data                              text    html    latex
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = (unset),
>         LC_CTYPE = "iso-8859-1",
>         LANG = (unset)
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 

I have Slackware 3.1 and I have a directory locale under
/var/X11R6/lib.

Assuming you have your locale directory in the same place, try doing
something like:
ln -s /var/X11R6/lib/locale /usr/lib/locale

Otherwise see, if you have a locale directory somewhere else, do:
locate locale

If you can't find a locale directory anywhere, I suggest you
- either ignore those error messages from perl 
- or don't set variable LC_LOCAL (look into files /etc/profile,
 or .bash_profile, .bashrc in your home directory or whatever else you use
 as your Bash startup file.

I do not think this is an R installation problem. When I did not have my
locale directory in the right place, every Perl script came up with that
error message.

Ina

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