[rkward-devel] bug in rkward: chinese characters on the screen

Prasenjit Kapat kapatp at gmail.com
Tue Jul 6 19:19:07 UTC 2010


Hi,

On Tue, Jul 6, 2010 at 2:30 PM, peter saly <peter_saly at yahoo.co.uk> wrote:
>
> Dear Rkward developer team,
>
> Actually, I use R with TinnR under win, but I want to switch to Ubuntu Linuix.
> So, I have just installed rkward on my machine under Ubuntu 9.04. Unfortunatelly, my former scripts, which have an extension ".r", are wrongly displayed when I open them in rkward: I see chinese characters on the screen.

This seems like an encoding problem. Can you provide the output of

(from a terminal)
$ file -i yourfile.r

Then from the rkward session,
> Sys.getlocale ()

Can you open the file correctly in gedit (assuming you are using
Ubuntu and not Kubuntu) and then in kate / kwrite?

Regards,
--
Prasenjit




More information about the Rkward-devel mailing list