Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Create array of data files

  • To: mathgroup at
  • Subject: [mg88101] Re: [mg88055] Create array of data files
  • From: Sseziwa Mukasa <mukasa at>
  • Date: Thu, 24 Apr 2008 05:59:31 -0400 (EDT)
  • References: <>

On Apr 23, 2008, at 4:07 AM, Modeler wrote:

> Hi there,
> does anyone know how to write standard multicolumn numerical data  
> sets generated by a "for" loop into an array of data files with  
> names "dataset%.txt", where % is iteratively given by the value of  
> the loop index? Thanks a lot.

For[Export["dataset"<>ToString[i]<>".txt",(*your data set here")],{i, 
(*number of data sets here*)}]



  • Prev by Date: Re: Problem with RegionFunction
  • Next by Date: Re: When Find finds something -
  • Previous by thread: Create array of data files
  • Next by thread: Re: Create array of data files