Warning in pngfun(filename = filename, width = width, height = height, res = res, :
unable to open connection to X11 display ''
Warning: Error in .External2: unable to start device PNG
127: pngfun
126: startPNG
125: drawPlot
111: <reactive:plotObj>
95: drawReactive
82: origRenderFunc
81: output$GB
1: runApp
我已经找了很多例子,但不知怎么的,这有点新。
capabilities()
> capabilities()
jpeg png tiff tcltk X11 aqua
TRUE TRUE TRUE FALSE TRUE FALSE
http/ftp sockets libxml fifo cledit iconv
TRUE TRUE TRUE TRUE TRUE TRUE
NLS profmem cairo ICU long.double libcurl
TRUE FALSE TRUE TRUE TRUE TRUE
但是,当我
su - shiny
能力改变为
> capabilities()
jpeg png tiff tcltk X11 aqua
TRUE TRUE TRUE FALSE FALSE FALSE
http/ftp sockets libxml fifo cledit iconv
TRUE TRUE TRUE TRUE TRUE TRUE
NLS profmem cairo ICU long.double libcurl
TRUE FALSE TRUE TRUE TRUE TRUE
X11
我的闪亮用户看起来不受支持,这可能是闪亮服务器中的问题?
我有一个debian-linux系统,我想所有的东西都已经安装好了,因为它是以普通用户的身份工作的。但不知道如何检查,还有可能遗漏什么。
找到了可能的解决方案的链接,但我无法设置它:
https://support.rstudio.com/hc/en-us/articles/360019922654-Working-with-packages-that-require-X11-and-or-cairo-on-RStudio-Server-Pro