Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4937 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2011-09-14 09:18 +0000 |
| Last post | 2011-09-14 09:18 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: ExportString "LineSeparators"-> "\n" ignored? Bill Rowe <readnews@sbcglobal.net> - 2011-09-14 09:18 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2011-09-14 09:18 +0000 |
| Subject | Re: ExportString "LineSeparators"-> "\n" ignored? |
| Message-ID | <j4prgv$fmd$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web