r - GoogleVis garbled characters output -


my ggvis outputs have garbled characters.
imagine there mismatch between encoding settings of system (windows 7 -windows iso8859-1 (i live in western europe) , encoding of gvis page (utf-8, firefox or chrome).

i tried change language preferences of r -studio (system -> utf8) without success. have idea?

r version 3.2.2 (2015-08-14) platform: i386-w64-mingw32/i386 (32-bit) running under: windows 7 x64 (build 7601) service pack 1   locale: [1] lc_collate=french_france.1252  lc_ctype=french_france.1252        

enter image description here

you need setup system locale. windows needs done this:

sys.setlocale("lc_ctype","en_gb.utf-8") 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -