输出图片 png(file="C:/Users/Administrator/Desktop/blog/Rplot1.png",width = 738,height = 286) plot(diamonds) #这块放画图代码 dev.off()