用hist、plot等函数时提示
Error in gzfile(file, "wb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "wb") :
cannot open compressed file 'C:/Users/??????~1/AppData/Local/Temp/RtmpspZRmo/rs-graphics-798c9bac-7125-4714-abd9-cb80eb4a12bb/7d0b00f1-b9e2-4dcb-8d49-0019bb7a2c07.snapshot', probable reason 'Invalid argument'
Graphics error: Plot rendering error
尝试了以下两种解决办法,均不行
一、1. 假定你的Windows用户名为“杨过”,在C:\Users文件夹里新建如下路 径“\YangGuo\AppData\Local\Temp”,形成这样一个完整路径“C:\Users\YangGuo\AppData\Local\Temp”。
2. 右击“计算机”,点“属性——高级——环境变量”,找到“杨过 的用户变量”。
3. 找到“TEMP”和“TMP”,将其都改成“C:\Users\YangGuo\AppData\Local\Temp”,确定后退出。
祝顺利二、重新将系统设置成了英文用户名 重装了R
请问除了这两种方法还有其他什么方法呢,求教