Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4937
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: ExportString "LineSeparators"-> "\n" ignored? |
| Date | 2011-09-14 09:18 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j4prgv$fmd$1@smc.vnet.net> (permalink) |
On 9/13/11 at 7:19 AM, iamhuzhe@gmail.com (Zhe Hu) wrote:
>ExportString[{{1, 2}, {3, 4}}, "Table", "FieldSeparators" -> " ",
>"LineSeparators" -> "\n"] //FullForm
>"1 2\r\n3 4"
>why is it not:
>"1 2\n3 4"
Here I get "1 2\n3 4" as shown by
In[1]:= ExportString[{{1, 2}, {3, 4}}, "Table",
"FieldSeparators" -> " ", "LineSeparators" -> "\n"] // FullForm
Out[1]//FullForm= "1 2\n3 4"
In[2]:= $Version
Out[2]= 8.0 for Mac OS X x86 (64-bit) (February 23, 2011)
I will guess you are using a Windows machine and this issue is platform specific.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: ExportString "LineSeparators"-> "\n" ignored? Bill Rowe <readnews@sbcglobal.net> - 2011-09-14 09:18 +0000
csiph-web