[R] Generating file names

Mark O. Kimball mok2 at physics.buffalo.edu
Thu Apr 1 20:40:39 CEST 2004


I read a data set into a data.frame. I then operate on the set, add
columns to the frame etc. and now want to output the frame into a file.
Trouble is, I want the file to have a name based upon the original data
set name. 

I cannot figure out how to cat strings together and use that new string
as the output filename...

Example: 	
	original data name: D08a
	desired output name: Analyzed_D08a

Any ideas?

Marko
-- 
Mark O. Kimball
Gasparinilab, University at Buffalo  |  Low temp physics
mok2 at physics.buffalo.edu  |  URL: enthalpy.physics.buffalo.edu
lab phone: 716-645-2017x122  Fax: 716-645-2507




More information about the R-help mailing list