Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0411181512360.3711@gannet.stats>
Date: 2004-11-18T15:15:05Z
From: Brian Ripley
Subject: Chinese character
In-Reply-To: <0E6C568558A9C64280EC171DAB66E3E3018595D9@mail.ami-group.com.cn>

On Thu, 18 Nov 2004, john zhao wrote:

> Hello R-help team,
>
> I am a R user in China.  I just downloaded the latest R which is R2001 for
> Windows. This new version can not store Chinese character which the previous
> version R 1.9.1 does.  Specifically when I enter

The previous version was 2.0.0.

>> x<-"²âÊÔ"
> then type "x", I got
>> x
> [1] "\262\342\312\324" .

That is because your locale is saying those are non-printable characters. 
It's an OS issue, not an R issue (and has been discussed before for R 
2.0.0).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595