Re: [R] Automatic creation of file names

From: Mike Prager <Mike.Prager_at_noaa.gov>
Date: Fri 23 Sep 2005 - 00:32:54 EST

You can use paste() with something like

 formatC(number,digits=0,wid=3,flag="0")

(where number is your loop index) to generate the filenames.

Equipment maintenance,

on 9/22/2005 10:21 AM Leite,Walter said the following:

>Dear R-Help members,
>
>
>I have a question about how to save to the hard drive the one thousand
>datasets I generated in a simulation. ://www.R-project.org/posting-guide.html

>
>

-- 
Michael Prager, Ph.D.
Population Dynamics Team, NMFS SE Fisheries Science Center
NOAA Center for Coastal Fisheries and Habitat Research
Beaufort, North Carolina  28516
http://shrimp.ccfhrb.noaa.gov/~mprager/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Sep 23 00:47:02 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:38:59 EST