load("/Users/nicholas/Desktop/RDATA/example/ch2/example2_1.RData")
head(example2_1,10)
结果证明是乱码如下,
\ xd0Ա\ xf0ţ\ xc4 \xccƷ\ xc5 \ xc6
1 \ xc4 \ xd0 \ xd2 \ xc1 \ xc0 \ xfb
2Ů\ xc8 \ xfd \ u052a
3Ů\ xb9 \ xe2 \ xc3 \ xf7
4 \ xc4 \ xd0 \ xd2 \ xc1 \ xc0 \ xfb
5 \ xc4 \ xd0 \ xc3 \xc9ţ
6 \ xc4 \ xd0 \ xd2 \ xc1 \ xc0 \ xfb
7Ů\ xb9 \ xe2 \ xc3 \ xf7
8 \ xc4 \ xd0 \ xc8 \ xfd \ u052a
9Ů\ xd2 \ xc1 \ xc0 \ xfb
10 \ xc4 \ xd0 \ xc3 \xc9ţ
My R在Mac OS X Yosemite 10.10.2上设置,
是因为编码设置还是其他什么?如何正确显示中文字符?