MathGroup Archive 2008

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

Search the Archive

Using Write to generate csv file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92936] Using Write to generate csv file
  • From: "Toshiyuki (Toshi) Meshii" <tmeshii at gmail.com>
  • Date: Mon, 20 Oct 2008 07:34:40 -0400 (EDT)

Hello,

I want to generate a csv file by using Write.

The example I tried was

sout = OpenWrite["test1.csv"]
Write[sout, 1. , ",", 2.];
Close[sout]

I thought that the above would work.
But the generated csv file contained "s, and I failed to generate a csv
file.
That is, the concrete test1.csv was like follows.

1.","2.

For other reasons, I do not want to use Export.

Can anyone help me on my problem?

-Toshi


-- 
****************************************
$B!!HS0f(B $B=S9T(B  meshii at u-fukui.ac.jp
$B!!(B  910-8507$B!!J!0f;TJ85~(B3-9-1
$B!!(B  $BJ!0fBg3XBg3X1!9)3X8&5f2J(B
$B!!!!86;RNO!&%(%M%k%.!<0BA49)3X@l96(B
$B!!(B  Tel$B!!(B0776-27-8468 Fax -9764
 (*** $B%a!<%k%"%I%l%9$,JQ$o$j$^$7$?(B ***)$B!!(B
****************************************


  • Prev by Date: Re: Questions on evaluate matrix operations
  • Next by Date: Re: ReplaceAll on Nested Expressions
  • Previous by thread: Re: Pi Formula
  • Next by thread: Grid Entries Font Size