[R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
Dear list, I have install R15.0 on Ubuntu system using the source code. It is install to my home directory. I have no root privilege. When I start R, I got this warning message: During startup - Warning message: Setting LC_CTYPE failed, using C How can I fix this? Thanks.

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 07:34, Jinyan Huang wrote: Dear list, I have install R15.0 on Ubuntu system using the source code. It is install to my home directory. I have no root privilege. When I start R, I got this warning message: During startup - Warning message: Setting LC_CTYPE failed, using C How

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
Yes. I think it is my environment variables problem. But I donot know how to fix. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: LANG __ R-help@r-project.org mailing list

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 09:27, Jinyan Huang wrote: Yes. I think it is my environment variables problem. But I donot know how to fix. That is described in the same manual. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripleyrip...@stats.ox.ac.uk wrote: LANG No,

Re: [R] R 15.0 Warning message.

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 10:27 , Jinyan Huang wrote: Yes. I think it is my environment variables problem. But I donot know how to fix. echo $LC_ALL echo $LANG en_US.UTF-8 On Sun, Jun 3, 2012 at 4:07 PM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: LANG First, use locale to check

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Prof Brian Ripley
On 03/06/2012 10:31, Jinyan Huang wrote: locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=UTF-8 That's wrong: see the manual I pointed you to!

Re: [R] R 15.0 Warning message.

2012-06-03 Thread peter dalgaard
On Jun 3, 2012, at 11:36 , Prof Brian Ripley wrote: ls -ld /usr/share/locale/en_US* drwxr-xr-x 2 root root 4096 Dec 15 15:19 /usr/share/locale/en_US This is clearly not an R issue: so ask your IT support for help. Or check out the Ubuntu docs/forums for information on which package of

Re: [R] R 15.0 Warning message.

2012-06-03 Thread Jinyan Huang
At last, the administrator provide me this command to fix this problem. echo setenv LC_ALL en_US.UTF8 ~/.cshrc.aliases On Sun, Jun 3, 2012 at 5:47 PM, peter dalgaard pda...@gmail.com wrote: On Jun 3, 2012, at 11:36 , Prof Brian Ripley wrote: ls -ld /usr/share/locale/en_US* drwxr-xr-x 2