win11系统。打开rstudio就是这样的问题。
Error in gzfile(file, mode) : cannot open the connection
In addition: Warning message:
In gzfile(file, mode) :
cannot open compressed file 'C:\Users\鍐嫳缇AppData\Local\Temp\Rtmpa2l9Mx\rstudio-available-packages-11187896b0a/time.rds', probable reason 'No such file or directory'
尝试过修改temp的位置,效果不理想。也尝试修改文件夹的名字,网上只有win10 的教程,win11的解决办法还不清楚。
中文文件夹名称导致乱码,路径找不到。
环境变量里更改temp和tmp两个变量的路径,改成没有中文和空格的路径,如D:\temp