Japanese package:grDevices R Documentation _J_a_p_a_n_e_s_e _c_h_a_r_a_c_t_e_r_s _i_n _R _D_e_s_c_r_i_p_t_i_o_n: The implementation of Hershey vector fonts provides a large number of Japanese characters (Hiragana, Katakana, and Kanji). _D_e_t_a_i_l_s: Without keyboard support for typing Japanese characters, the only way to produce these characters is to use special escape sequences: see 'Hershey'. For example, the Hiragana character for the sound "ka" is produced by '\\#J242b' and the Katakana character for this sound is produced by '\\#J252b'. The Kanji ideograph for "one" is produced by '\\#J306c' or '\\#N0001'. The output from 'demo(Japanese)' shows tables of the escape sequences for the available Japanese characters. _R_e_f_e_r_e_n_c_e_s: _S_e_e _A_l_s_o: 'demo(Japanese)', 'Hershey', 'text' _E_x_a_m_p_l_e_s: require(graphics) plot(1:9, type="n", axes=FALSE, frame=TRUE, ylab="", main= "example(Japanese)", xlab= "using Hershey fonts") par(cex=3) Vf <- c("serif", "plain") text(4, 2, "\\#J2438\\#J2421\\#J2451\\#J2473", vfont = Vf) text(4, 4, "\\#J2538\\#J2521\\#J2551\\#J2573", vfont = Vf) text(4, 6, "\\#J467c\\#J4b5c", vfont = Vf) text(4, 8, "Japan", vfont = Vf) par(cex=1) text(8, 2, "Hiragana") text(8, 4, "Katakana") text(8, 6, "Kanji") text(8, 8, "English")