参考 Anaconda 官方文档《Using R language with Anaconda》安装 R-4.0.2:
conda create -n r-4.0.2 r-essentials r-base==4.0.2
1. unable to open connection to X11 display
> plot(1:10)
Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, :
unable to start device X11cairo
In addition: Warning message:
In (function (display = "", width, height, pointsize, gamma, bg, :
unable to open connection to X11 display ''
> capabilities()
jpeg png tiff tcltk X11 aqua
TRUE TRUE TRUE TRUE FALSE FALSE
http/ftp sockets libxml fifo cledit iconv
TRUE TRUE