Hi Falk,
i'm not sure about splus2000, since I am using splus 6.1, but two functions you
may want to look into are:
exportData()
write.table()
both functions have the ability to write to an ascii text file.
example of code that i use:
exportData(dataset, type="EXCEL", file=vecFileName[1], colNames=TRUE)
this exports the data into an excel file.
hth,
richard park
computational data analyzer
joslin diabetes center
-----Original Message-----
From: Falk Huettmann [mailto:falk@ucalgary.ca]
Sent: Tuesday, June 24, 2003 13:43 PM
To: Listserver SPLUS
Subject: [S] matrix export into TXT file ?
Hi,
I am wondering what would be the best way to export a
matrix, e.g. 14*14, into a (comma-delimited) TXT file.
Thanks very much for the help; best regards
F.
PS. I am using SPLUS2000 on WinNT
Falk Huettmann PhD
Geography Dept.-Earth Science-
2500 University Drive N.W.
University of Calgary
Calgary AB, T2N 1N4 CANADA
Email: falk@ucalgary.ca
Tel. 403 210 5422 (lab)
403 230 3122 (home)
Fax 403 282 6561
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|