R13.2なのだが、Macでプロットするとき、日本語がたいてい化ける。 テキストエンコーディング?なにそれおいしいの?という情弱っぷりなので、グーグル先生に聞いた。 R、日本語、プロット、なんかでググるとたくさん出てきた。生態学のデータ解析 - R 作図の日本語表示を参考にすると >|r|| setHook(packageEvent("grDevices", "onLoad"), function(...){ if(.Platform$OS.type == "windows") grDevices::windowsFonts(sans ="MS Gothic", serif="MS Mincho", mono ="FixedFont") if(capabilities("aqua")) grDevices::quartzFonts( sans =grDevices::quartzFont(