Re: [R] Dont print plot on screen
For (at least) boxplot() and hist(), you can set plot=FALSE But since we don't know what type of plot you want, difficult to be sure. Ivan Le 12/8/2010 14:14, Joel a écrit : Hi is there any command or setting that allows you to do the plot command but it dose not print the plot on screen? So when you are saveing an plot in a function you dont want it to display the plot just save it. -- Ivan CALANDRA PhD Student University of Hamburg Biozentrum Grindel und Zoologisches Museum Abt. Säugetiere Martin-Luther-King-Platz 3 D-20146 Hamburg, GERMANY +49(0)40 42838 6231 ivan.calan...@uni-hamburg.de ** http://www.for771.uni-bonn.de http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php __ 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] Dont print plot on screen
On 08/12/2010 8:14 AM, Joel wrote: Hi is there any command or setting that allows you to do the plot command but it dose not print the plot on screen? So when you are saveing an plot in a function you dont want it to display the plot just save it. Yes, that's the normal behaviour when plotting to a file. Just open a device in the output format you want. For example, pdf(file="example.pdf") plot(rnorm(100)) dev.off() Duncan Murdoch __ 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] Dont print plot on screen
The create a file with the graphics: ?pdf ?jpg ?postscript The question is if you are generating it, what do you want to do with it. If you don't say otherwise, it will go to the default graphics which is probably a window on your console. You will have to direct it where you want it. On Wed, Dec 8, 2010 at 8:14 AM, Joel wrote: > > Hi is there any command or setting that allows you to do the plot command but > it dose not print the plot on screen? > > So when you are saveing an plot in a function you dont want it to display > the plot just save it. > -- > View this message in context: > http://r.789695.n4.nabble.com/Dont-print-plot-on-screen-tp3078167p3078167.html > Sent from the R help mailing list archive at Nabble.com. > > __ > 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. > -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? __ 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] Dont print plot on screen
Hi is there any command or setting that allows you to do the plot command but it dose not print the plot on screen? So when you are saveing an plot in a function you dont want it to display the plot just save it. -- View this message in context: http://r.789695.n4.nabble.com/Dont-print-plot-on-screen-tp3078167p3078167.html Sent from the R help mailing list archive at Nabble.com. __ 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.