当我创建一个带有左对齐字符串的 tableGrob 时,最终结果显示字符串在末尾被剪裁。是错误还是我错过了什么?
library(gridExtra)
slices <- c(10, 12, 4, 16, 8)
lbls <- c("US", "UK", "long string left justified but is clipped at the end", "Germany", "France")
z <- data.frame(lbls,slices)
grid.newpage()
grid.draw(tableGrob(z, core.just="left"))