[R] problem with a densityplot
Hi, i have a script how i launch lattice to make a densityplot. in the script: jpeg(file=XXX.jpg) densityplot(~f_diametro+m_diametro+n_diametro, plot.points=rug, auto.key=T) dev.off() does'nt work and in R i dont have any output but if i launch by R row by row, runs correctly. any idea? __ 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.
Re: [R] problem with a densityplot
FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f you need to print() HTH, baptiste 2009/12/16 c...@autistici.org c...@autistici.org: Hi, i have a script how i launch lattice to make a densityplot. in the script: jpeg(file=XXX.jpg) densityplot(~f_diametro+m_diametro+n_diametro, plot.points=rug, auto.key=T) dev.off() does'nt work and in R i dont have any output but if i launch by R row by row, runs correctly. any idea? __ 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. __ 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.
Re: [R] problem with a densityplot
instead of densityplot(...) use print(densityplot(...)) b On Dec 16, 2009, at 3:19 PM, c...@autistici.org wrote: Hi, i have a script how i launch lattice to make a densityplot. in the script: jpeg(file=XXX.jpg) densityplot(~f_diametro+m_diametro+n_diametro, plot.points=rug, auto.key=T) dev.off() does'nt work and in R i dont have any output but if i launch by R row by row, runs correctly. any idea? __ 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. __ 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.