Error in gzfile(file, “wb”): cannot open the connection or compressed file

前端 未结 19 998
自闭症患者
自闭症患者 2021-02-05 06:49

I\'m trying to run two things: first, I\'m creating a PDF with 4x5, ending with dev.off(), and then trying to create a new graph. However, after starting the second plot, I get:

19条回答
  •  北荒
    北荒 (楼主)
    2021-02-05 07:14

    The reason for the error is that your username is Chinese.Please create new user folder with English in the user directory.For example, you could name the folder for "DavidSmith".Then, you need create three folders("AppData","Local","Temp").File directory C:\Users\DavidSmith\AppData\Local\Temp. In the Advanced system settings which will modify the environment variables TMP and TEMP C:\Users\DavidSmith\AppData\Local\Temp.Save them. After modification, open RStudio and try again.

    Notice:TMP and TEMP are modified in the USER VARIABLE.

提交回复
热议问题