Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Help needed with new Export (v. 6)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84268] Re: [mg84255] Re: Help needed with new Export (v. 6)
  • From: "Curtis Osterhoudt" <costerhoudt at gmail.com>
  • Date: Mon, 17 Dec 2007 01:47:02 -0500 (EST)
  • References: <fhh7uo$92p$1@smc.vnet.net> <200712161036.FAA23863@smc.vnet.net>

Mr. Woll's solution was correct and very helpful, of course.

   Only upon carefully reading the help file for Table do I see mention of
"FieldSeparators", which was the trick needed. It would be nice if such an
option was found when one typed ?FieldSeparators into a notebook, or if
Options[Export] or Options[Table] inclued some mention of it!

            Best wishes,
                           C.O.

On Dec 16, 2007 6:19 AM, Carl Woll <carlw at wolfram.com> wrote:

> C.O. wrote:
>
> >I'm taking the desperate step of doing a *bump* on this message, as
> >I've yet to find an answer. Is there now a way to use "Export" to
> >write a list of numbers to a file which has, say, spaces as delimeters
> >rather than tabs (as in TSV) or commas (as in CSV)? I was able to do
> >it easily in version 5, without doing any string manipulation.
> >
> >   I've read the documentation for v. 6's Export and CSV quite
> >extensively, and am too dense to figure it out. Perhaps someone could
> >post a code snippet?
> >
> >             Thanks,
> >                         C.O.
> >
> >
> Perhaps you can use:
>
> Export[file, data, "Table", "FieldSeparators" -> " "]
>
> Carl Woll
> Wolfram Research
>



  • Prev by Date: FileNameSetter button return state
  • Next by Date: Re: Invert Black/White Colors of Binary Images
  • Previous by thread: Re: Help needed with new Export (v. 6)
  • Next by thread: Re: Re: Help needed with new Export (v. 6)