[R] What's the message "locale not supported by C library" ?

M.Kondrin mkondrin at hppi.troitsk.ru
Tue Oct 14 14:35:00 CEST 2003


Ken Lee wrote:

>Dear all,
>      As I run a png(...) function I got the message "locale not supported by C library" and then core dump at unix system.
>What's I can do for this trouble?
>
> Thanks
>Ken
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
>  
>
This is a standard error message of Xlib indicating what it doesn't 
understand system locale (command locale). You should tweak your system 
settings or (as a workaround) you can set locale to default posix one 
(export LC_ALL=POSIX) before calling R (for example add this line to R 
script) - although in this case you will have only ASCII charset




More information about the R-help mailing list