IBM Support

Modeler Server is unable to open X11 display for R plot outputs

Troubleshooting


Problem

Running any R script with a plot output by using extension node with R, ends with the following error:
Warning messages:
1: In png(filename = "Rplot%03d.png") :
  unable to open connection to X11 display ''
2: In .External2(C_X11, paste0("png::", filename), g$width, g$height,  :
  unable to start device PNG
Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize,  : 
  unable to start device X11
In addition: Warning message:
In (function (display = "", width, height, pointsize, gamma, bg,  :
  unable to open connection to X11 display ''

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS2H88","label":"IBM SPSS Modeler Server"},"ARM Category":[{"code":"a8m500000008gktAAA","label":"Modeler-\u003EExtensions-\u003EEssentials for R"}],"ARM Case Number":"TS006133592","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
06 October 2021

UID

ibm16496755