Ranran
March 18, 2019, 1:35pm
1
Hello everyone,
While I was doing my homework, I had problem with 'bar.SCORE'.
bar.SCORE<-barplot(table.family,main="服务质量条形图",col=c('springgreen','red','purple','blue','grey'))
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/RtmpqqTiNe/rs-graphics-2a772e09-ab39-4296-91a3-5af057060c95/e23f7257-568a-4180-90cb-a01ef7e74ca5.snapshot', probable reason 'Invalid argument'
Graphics error: Plot rendering error
text(bar.SCORE,table.family,format(table.family),xpd=TRUE)
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/RtmpqqTiNe/rs-graphics-2a772e09-ab39-4296-91a3-5af057060c95/ef1acb2d-c743-4328-bf5d-97f5dfc58329.snapshot', probable reason 'Invalid argument'
Graphics error: Plot rendering error
Can anyone tell me how to fix it?
Thank you very much.
mara
March 18, 2019, 1:36pm
2
Does this work for you in R, but not in RStudio? (see FAQ below for disambiguation)
Aside: goals for this thread I'm hoping this will help people disambiguate R from RStudio, and also help with getting questions in the right category. This is a bit of a mashup of the times I've tried to explain this in individual threads, so please feel free to add to this topic for further clarification/point out corrections, etc.
Before putting a code-related question in the #rstudio-ide category or using the rstudio tag, it's helpful to ask yourself:
Does this work in the regular R GUI, but not when you're in RStudio?
If you're using RStudio , you're using R — RStudio is just an IDE (Integrated Development Environment) in which you are using the R language. (On of my favourite fi…
Does your Windows account name contain multibyte, or non-ASCII, characters? Unfortunately, there is an issue with RStudio on Windows where attempts to plot can fail in that case.
system
Closed
April 8, 2019, 9:39pm
4
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.