Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Writing numeric data to CSV does not write final EOL
Replies: 5   Last Post: Sep 24, 2013 3:58 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Sseziwa Mukasa

Posts: 106
Registered: 8/26/07
Re: Writing numeric data to CSV does not write final EOL
Posted: Sep 19, 2013 1:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

You're right, this will make a temporary copy of the list. Alternatively, export the table:

Export["C:/tmpfile.csv",mytable];

then:

fileStream=OpenAppend["C:/tmpfile.csv"];
WriteString[fileStream,"\n"]
Close[fileStream];

Regards,
Sseziwa

On Sep 17, 2013, at 9:34 PM, Alan <alan.isaac@gmail.com> wrote:

> On Tuesday, July 23, 2013 4:42:40 AM UTC-4, Sseziwa Mukasa wrote:
>> Export["C:/tmpfile.csv", Append[mytable,{}], "csv"];
>
>
> If ``mytable`` is huge, won't this require the temporary creation of another huge list?
>
> Alan Isaac
>






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.