Apologies for this question - I\'m sure the answer is v simple
I have a couple of lists containing objects. I\'m running them into HTML through knitr and want to contro
You should Adding a plot.new
before/after calling the plot command to not plot in the same place and call print
to force the display when you call it.
Try this for example:
lapply(1:4, function(i){
print(my.list1[[i]])
plot(my.list1[[i]])
plot.new()
print(my.list2[[i]])
plot(my.list2[[i]])
plot.new()
})