美文网首页
报错 | Error in RStudioGD()

报错 | Error in RStudioGD()

作者: biogeeker | 来源:发表于2020-05-26 16:58 被阅读0次

    报错

    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】

    相关文章

      网友评论

          本文标题:报错 | Error in RStudioGD()

          本文链接:https://www.haomeiwen.com/subject/ozsvahtx.html