[R] Can I see japanese in R run with Emacs(ESS) ?

Shigeru MASE mase at is.titech.ac.jp
Thu Nov 29 07:54:40 CET 2001

Dear Mr. Hiroto Miyoshi, 

I am a Japanese R user. I cannot understand what you 
actually want to know. (I need to say I use R from Linux, 
not from MS Windows.) 

You can insert and see Japanese in R code if your
(X)Emacs has the mule (Japanized) option. This is 
so regardless to the use of ESS. I frequently insert 
Japanese comments in R codes.

If your question is whether or not you can use Japanese
symbols or names in R code, it seems problematic.
I heard this is apparently OK, but actually it usually 
seems to cause some character coding problems later.

If your question is whether or not you can use Japanese
in graphic outputs, the answer is OK. type "help(Japanese")
to R prompt. But the set of available Japanese characters 
is rather limited and you must input them by their code 
numbers. Experts can handle this problem by editing output 
ps file directly.

You can see several discussions about the use of Japanese in R
in past articles of R-jp (mailing list of a small Japanese 
R-user groups), see 


By the way, let me introduce my Japanese web-page


This page includes Japanese translation of two basic manuals

"Introduction to R" and "Writing R Extensions"

as well as translation of about half of R basic help manuals
in html format. I hope they will help R-users in Japan.

Shigeru MASE <mase at is.titech.ac.jp>
Dept. of Math. and Comp. Sciences,
Tokyo Institute of Technology,
O-Okayama, Meguro-ku, Tokyo 152-8550, Japan
Tel(& Fax) +81-3-5734-3877 (Laboratory)
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list