我需要通过带有 X11 转发的 ssh 连接在远程服务器(NetBSD)上使用 R(来自 pkgsrc 的 3.0.2)。plot(1)
正在我的本地机器上生成预期的图形,但是 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"