# Small function to display plots only if it's interactive
p_ <- GGally::print_if_interactive
p_(ggpairs(iris, 1:2) + v1_ggmatrix_theme())
# move the column names to the left and bottom
p_(ggpairs(iris, 1:2, switch = "both") + v1_ggmatrix_theme())
Run the code above in your browser using DataLab