Hello, I want to print graphs after running a gam function (gam needs the package mgcv) I want to print the results of the function in a .jpg or in a .png. I would like to print it in many files (because in one file the graphs is too small and can't be read) For the moment, I run this script : mymodel<-gam(species~var...) jpeg(file="my_file.jpeg") plot(mymodel,pages=2) dev.off() I use pages=2 but I need to press return and I don't want. I also want to print only one or two graph per page (to read each graph easily) Is there an option of plot (or another function) to print graphs in many pages and without pressing return ? Thanks a lot for your answers Cheers, Florian [[alternative HTML version deleted]]