报错
Error in RStudioGD() :
Shadow graphics device error: r error 4 (R code execution error)
In addition: Warning messages:
1: In grDevices:::png("C:/Users/dell/AppData/Local/Temp/Rtmp2V4tnY/6b869129ec1a49a08b627dc5c4e1e0c9.png", :
无法打开'C:/Users/dell/AppData/Local/Temp/Rtmp2V4tnY/6b869129ec1a49a08b627dc5c4e1e0c9.png'文本写入
2: In grDevices:::png("C:/Users/dell/AppData/Local/Temp/Rtmp2V4tnY/6b869129ec1a49a08b627dc5c4e1e0c9.png", :
opening device failed
原因
之前清理 Temp 文件夹内容时,删除了 Rtmp2V4tnY
文件夹.
解决
进入目录 C:/Users/dell/AppData/Local/Temp/
,新建文件夹 Rtmp2V4tnY
.
参考
Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error)
--- / End / ---
PS:欢迎关注我的同名公众号【biogeeker】
网友评论