Displaying 1 result from an estimated 1 matches for "mandist".
2001 May 02
2
Export to File...
...manual (page 25 on Connection
chapter) but somehow I can't manage to get what I want.
I have a 28x28 distance matrix, which I would like to export to a file.
What I did was something like:
zz <- file("ex.data", "w") # open an output file connection
cat( traffic.manDist, file = zz ) # traffic.manDist is my matrix name
close(zz)
But instead of exporting the matrix, it export each number in the matrix and
separating each number into one line!
Can anyone tell me where I did wrong? Much appreciated!
Cheers,
Kevin
--------------------------------------------...