如果数据或图的标题坐标轴等参数含有中文,在网页中显示就会出现警告,虽然图画出来都是正常
例如:
<br />
b = c(1000, 1300, 1600, 1800, 2100, 2400, 2700, 3000)<br />
h = hist(x$X, breaks = b, xlab = "salary", freq = F, main = "工人工资直方图")<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<b7>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<a5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e4>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<ba>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<ba>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<b7>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<a5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e8>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<b5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<84>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e7>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<9b>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<b4>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e6>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<96>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<b9>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<e5>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<9b>代替了dot<br />
## Warning: 'mbcsToSbcs'里转换'宸ヤ汉宸ヨ祫鐩存柟鍥戼<U+3E65>'出错:<be>代替了dot<br />
</p>
出现了一堆## Warning,如果标题改为英文就不会出现,求助各位大神该怎么设置才不会出现上面的现象??