The progress = FALSE argument will work when printing the ggpairs graph.
ggp = ggpairs(mtcars, columns = c("mpg", "cyl", "hp", "disp")) print(ggp, progress = F) # no progress bar print(ggp) # progress bar
It may also depend on how you knit . The function that calls the progress bar, ggmatrix_gtable , with a default value
progress = interactive() && (pm$ncol * pm$nrow) > 15
Thus, in a non-interactive session, the progress bar is not displayed by default.
source share