Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15475

Re: Writing numeric data to CSV does not write final EOL

From Sseziwa Mukasa <mukasa@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Writing numeric data to CSV does not write final EOL
Date 2013-09-19 05:19 +0000
Message-ID <l1e1g6$l2t$1@smc.vnet.net> (permalink)
References <20130721082237.45F9E6A09@smc.vnet.net> <kslfm0$pnu$1@smc.vnet.net> <20130918013433.0A84E6A2F@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Writing numeric data to CSV does not write final EOL Sseziwa Mukasa <mukasa@gmail.com> - 2013-07-23 08:42 +0000
  Re: Writing numeric data to CSV does not write final EOL Alan <alan.isaac@gmail.com> - 2013-09-17 09:31 +0000
  Re: Writing numeric data to CSV does not write final EOL Sseziwa Mukasa <mukasa@gmail.com> - 2013-09-19 05:19 +0000
    Re: Writing numeric data to CSV does not write final EOL David Bailey <dave@removedbailey.co.uk> - 2013-09-24 07:58 +0000

csiph-web