[R] name of the graphics output

Philipp Pagel philipp.pagel.lists at t-online.de
Tue Mar 14 13:03:22 CET 2006


On Tue, Mar 14, 2006 at 12:55:47PM +0100, Arnau Mir Torres wrote:

> All the outputs names are file.name.pdf but I want to put a different 
> name for each graphic.

you can use paste() to put together the command:

file ="foo"
system( paste("mv Rplots.pdf ", file,  ".name.pdf", sep='') )

cu
	Philipp

-- 
Dr. Philipp Pagel                            Tel.  +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics      Fax.  +49-8161-71 2186
Technical University of Munich
Science Center Weihenstephan
85350 Freising, Germany

 and

Institute for Bioinformatics / MIPS          Tel.  +49-89-3187 3675
GSF - National Research Center               Fax.  +49-89-3187 3585
      for Environment and Health
Ingolstädter Landstrasse 1
85764 Neuherberg, Germany
http://mips.gsf.de/staff/pagel




More information about the R-help mailing list