make a .Rmd file and then knit it to .md; this is more in the spirit of reproducible code. To make the three plots: > multiplot(be,re,ae, cols=3) > multiplot(bk,rk,ak, cols=3) > multiplot(br,rr,ar, cols=3)