【发布时间】:2023-03-20 19:30:01
【问题描述】:
我正在尝试绘制图表,但仅在我第一次尝试绘制图表时出现此错误,这很奇怪。
w <- gwindow(title="Plots")
g=ggraphics(cont=w,visible=FALSE)
plot(x,y,xlab = "Period",ylab = "Scores",main = "Results",type = "l")
visible(w) <- TRUE
Now I get the subject line error. If I again run the plot(), I see the plot in the window. How can I avoid this. Thanks.
【问题讨论】: