I just download the Rstudio and started learning today. However, when I was trying the code from “A introduction to R”, I had problem with “plot(x, y)”
> x<-rnorm(5) > y<-rnorm(x) > plot(x,y) Error in gzfile(file, "wb") : cannot open the connection In addition: Warning message: In gzfile(file, "wb") : cannot open compressed file 'C:/Users/?λ?/AppData/Local/Temp/RtmpAb3RKl/rs-graphics-007348ee-bf47-48c0-aeb5-0381e9f7eccc/ba86e3d6-325e-4ee7-9512-98ead40b83bd.snapshot', probable reason 'Invalid argument' Graphics error: Plot rendering error
Can anyone tell me how to fix such problem? Thanks!