title: write a table in "for loop" (R)
body: <p>I have many sequences in a text file. I import these sequences using "read.fasta" function.
  I use "for loop" to create table of nucleotides frequency for each sequence and use "write.table" to have an output. But it create a file per each sequence(many output file and each file have table of a sequence).
  I search for a commands to create a file that have all tables.<br>
  note: "mydata.txt" is a file contain many sequence with fasta format</p>
  
  <pre><code>file=read.fasta(file="mydata") 
  for (i in seq_along(file))
  {
  NucleotidesFrequency=table(file[[i]])
  print(NucleotidesFrequency)
  write.table(NucleotidesFrequency, paste(i, (".txt"), sep=""),sep="\t") 
  }
  </code></pre>