From efremov at mpiz-koeln.mpg.de  Fri Mar 14 11:45:05 2008
From: efremov at mpiz-koeln.mpg.de (efremov at mpiz-koeln.mpg.de)
Date: Fri, 14 Mar 2008 11:45:05 +0100 (CET)
Subject: [Rd] write function (PR#10953)
Message-ID: <20080314104505.DFB9B282EFF6@mail.pubhealth.ku.dk>

Full_Name: Alexander Yephremov
Version: R 2.6.2 GUI 1.23 (4932) (4932)
OS: Mac OS X 10.4 
Submission from: (NULL) (193.174.239.91)


Hi!

> array <- 0*1:50
> array
 [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0
> write(array, "array.file", sep=",")

This is how array.file looks:

0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0
0,0,0,0,0

As you see, the resulting array.file is organized in 5 columns although, I think
there must be a vector. It is the same with any sep.
Best regards,
Alexander



[Rd] write function (PR#10953)
efremov at mpiz-koeln.mpg.de