Rで行列の文字コード変換

rownames(r_d)<-iconv(rownames(r_d),to="utf-8",from="cp932")
colnames(r_d)<-iconv(colnames(r_d),to="utf-8",from="cp932")