Maximum length history of the Plots pane

Dear all,

here is a small R code that creates 101 figures that are plotted successively in the Plots Pane of Rstudio.

library(ggplot2)

nn<- c(0:1000)
nx<-nn*1e-3
ny<-nx^2

dftest <- data.frame(nn,nx,ny)
for (ig in c(1:101)) {
pgraph <- ggplot( dftest, aes(x=nx,y=ny^ig))+geom_point(size=1,color='blue')+
geom_hline(yintercept = 0.5,col="red",linetype="dashed")+
geom_hline(yintercept = 1 ,col="red",linetype="dashed")+
ggtitle(paste("Indice ", as.character(ig), sep = " "))
print(pgraph)
}

But, I try to scroll back, the memory of the Plots pane seems to be limited to 100 pictures.

Does any know if it possible to change this limitation?

Best

Robert

Sorry, but it's not currently possible to change this limit. Would you mind filing this as a feature request at https://github.com/rstudio/rstudio/issues?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.