R Error in grid.Call(C_textBound

2020-07-09  本文已影响0人  煮梦斋_bioinfo

在Ubuntu18.04中使用R中的ggplot2画图,出现如下报错:

Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,  :
X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 9 could not be loaded

解决办法:

sudo apt install r-cran-plotly   

重启Rstudio,发现可用
如是其他Ubuntu版本,解决办法参见https://stackoverflow.com/questions/51324093/error-in-grid-call

上一篇 下一篇

猜你喜欢

热点阅读