See the loop below--it calls plot k(k-1)/2 times, but no plots are ever actually produced.. Yet if I change the code to call the plots manually (e.g. plot(my_tree,c(1,2),..), pl
If you look at the help page for plot.gbm it mentions that lattice plots are used, so this could very well be a case of FAQ 7.22. Try "printing" the plots.