我需要在远程服务器(NetBSD)上通过带有X11转发的ssh连接使用R(来自pkgsrc的3.0.2)。 plot(1)
正在我的本地机器上生成预期的图形,但是R也在我的终端会话中返回警告,如下所示。X11通过ssh转发R:为什么这个警告?
> plot(1)
Warning messages:
1: In (function (display = "", width, height, pointsize, gamma, bg, :
locale not supported by Xlib: some X ops will operate in C locale
2: In (function (display = "", width, height, pointsize, gamma, bg, :
X cannot set locale modifiers
我不知道这是否代表我可能会遇到的问题,但我希望得到一切设置和正确配置。请有人澄清警告的含义并解释如何解决这些警告?
编辑更多信息:
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64--netbsd (64-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> names(X11Fonts())
[1] "serif" "sans" "mono" "Times" "Helvetica"
[6] "CyrTimes" "CyrHelvetica" "Arial" "Mincho"
它是字体或编码问题。在netBSD机器上,你会得到什么'sessionInfo()'和'names(X11Fonts())'? –