jim holtman <jholtman <at> gmail.com> writes: > > Did you have 'dev.off()' at the end? > > On Thu, Nov 11, 2010 at 7:27 PM, Xiaoqi Cui <xcui <at> mtu.edu> wrote: > > Hi, > > > > I wrote a function basically to first read an input data file > , then open an pdf file and draw graph using > "splom". When testing, I ran the function line by line, > it can produce nice plot, but with like 50 warnings. > However, whenever I ran this function as a whole, > it can not produce any plot, the pdf file has nothing in it. > It seems the "splom" function even hasn't been run. > Does anybody encountered similar problems, and would > kindly share any possible reasons? >
Does http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f have anything to do with it? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.