Wincent | 1 Jun 2012 11:10
Picon

Re: possible bug in "R Editor"

Dear Professor Ripley, I understand that it is not a real reproducible
example, which may require a Chinese OS. I guess that problem is the
routine does not consider the encoding issue by default. If I open an
existing file and save it rather than save a new file, the editor can
handle it appropriately even the file path contains wide characters.

Best
Ronggui

On 1 June 2012 00:50, Prof Brian Ripley <ripley <at> stats.ox.ac.uk> wrote:
> On 31/05/2012 07:04, Wincent wrote:
>>
>> Dear all,
>>
>> I clicked "File-New Script" to open a R Editor, typed some commands in
>> it and then saved it to a file. If the location where I tried to save
>> the script contained Chinese Character, R Editor complained,
>>
>> Error: invalid input 'E:\Some.Chinese.Characters\new_file.R' in
>> 'utf8towcs'
>>
>>
>>> sessionInfo()
>>
>> R version 2.15.0 (2012-03-30)
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> locale:
>> [1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
>> [2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
(Continue reading)


Gmane