[R] Chinese character

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 18 16:15:05 CET 2004


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


More information about the R-help mailing list