jennypan999
程式碼如下:
install.packages("ggplot2")
require(ggplot2)
data(diamonds)
head(diamonds)
到上面都ok
hist(diamonds$carat, main = "Carat Histogram", xlab = "Carat")
出現下列回應
Error in gzfile(file, "wb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "wb") :
cannot open compressed file 'C:/Users/??z/AppData/Local/Temp/Rtmp6PVFyA/rs-graphics-920587eb-748b-442e-9cd7-4b22fe0c8161/bd1ec6c3-debe-4527-8246-ec68d4cf7322.snapshot', probable reason 'Invalid argument'
Graphics error: Plot rendering error
請問是什麼原因?我該怎麼解決?
(我有重複安裝ggplot2 也更新版本了 但還是一樣的回覆)
麻煩各位神大大了(小妹我還剛進入R世界約2周)