Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'simple question about exporting' topicStudent Support Forum > General > "simple question about exporting"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
06/29/12 12:53pm

Try

Export["alt.txt", sample, "List", "LineSeparators" -> " "]

I don't know an easier way to add a newline (in either your original Export or the above) than this:

Export["alt.txt",
ExportString[sample, "List", "LineSeparators" -> " "] <> "\n"]

(In case you want a newline. I did.)

URL: ,

Subject (listing for 'simple question about exporting')
Author Date Posted
simple question about exporting android1234 06/29/12 04:42am
Re: simple question about exporting Michael 06/29/12 12:53pm
< Previous CommentHelp | Reply To Comment | Reply To Topic