运行 ❯
获得您自己的个人网站
×
更改方向
更改主题,深色/浅色
进入 Spaces
# We need this line of code to show graphs in our compiler bitmap(file="out.png") x <- c("A", "B", "C", "D") y <- c(2, 4, 6, 8) barplot(y, names.arg = x, col = "red")