X11 forwarding over ssh for R: why this warning? -


Let me use R (3.0.2 pkgsrc) on Remote Server (NetBSD) on an SSH connection with X11 forwarding is required . Plot (1) is generating the requisite graphic on my local machine, but even the warning in my terminal session is also returning.

  & gt; Plot (1) Warning message: 1: In function (display = "", width, height, point, gamma, bg ,: not supported by xlb location: some x ops will work in c locale 2: in (function Display = "", width, height, number, gamma, bg,: x locale modifier can not be set  

I do not know if there are problems that I can get later , But I like to set up everything and configure it correctly Will someone please clarify the meaning of warnings and how will they address them?

Edit for more information:

  & gt; SessionInfo () R Version 3.0.2 (2013-09-25) Platform: x86_64 - NetBSD (64-bit) Locale: [1] C Enclosed Base Package: [1] Statistics Graphics Tools Distributions UTIL Dataset Method Base & gt; Name (X11Fonts ( ) "Serif" "without" "mono" "times" "helvetia" [6] "cyrtmas" "cyrilestica" "aerial" "minco"  

Errors are saying that the X11 graphics driver does not know which font to use Is (see). By default, the RCC is installed with the locale set. For Linux, you have to set up a UTF-8 locale, which is prefixed by language. For example, for English in the US, you would set it to 'en_US.UTF-8'.

Try setting the system locale with the command like this:

  Sys.setlocale ("LC_CTYPE", "en_US.UTF-8") Sys. Setlocale ("LC_ALL", "en_US.UTF-8")  

This can be done through a .bashrc configuration file:

  export LC_CTYPE = en_US.UTF-8 export LC_ALL = en_US.UTF-8  

()


Comments