title: Export an array to a CSV file in Julia
body: <p>Given a (2d) array <code>A</code> how to export it into a CSV file with Julia?</p>
  
  <p>Back in the older versions, I would write </p>
  
  <pre><code>writecsv( "FileName.csv",  A);
  </code></pre>
  
  <p>which would dump the array A into the given file. This, however, does not work in version >= 1.0. After some googling, I also tried to use the CSV module doing</p>
  
  <pre><code>f = open("test.csv", "a+");
  CSV.write(f, A; delim = ',')
  </code></pre>
  
  <p>but this throws an error</p>
  
  <pre><code>ERROR: ArgumentError: no default `Tables.rows` implementation for type: Array{Int64,2}
  </code></pre>
  
  <p>(my array A was of type Int64).</p>
  
  <p>Does anyone have a working solution for this most trivial question?</p>