Problem:
When you run R on in primary centOS server, you didn't use the png. It will appear some error "Error in X11...unable to start device PNG". ""unable to open connection to X11 display
"
Solution:
Install the package
{code}
>yum install libpng-devel.x86_64
{code}
{code}
R
# To avoid the x11 warning
Sys.setenv("DISPLAY"=":0.0")
{code}
Reference:
Install libpng package
Check the png Capabilities of R
R with x11 setting
沒有留言:
張貼留言