s-news
[Top] [All Lists]

Summary: What's wrong with "export.data"?

To: s-news@wubios.wustl.edu
Subject: Summary: What's wrong with "export.data"?
From: Gerald.Jean@spgdag.ca
Date: Tue, 3 Apr 2001 14:18:20 -0400
Thanks to: Mike Sawada, Madeline Bauer and Chuck Taylor for their quick
replies.

Chuck corrected my syntax for the argument "Columns"; export.graph expects
the argument  "Columns" in the following format:

     Columns = "Mileage, Disp., Weight"

if we wanted to export the columns "Mileage", "Disp." and "Weight" of some
data frame.  Chuck and Mike also suggested using "write.table" since I
required ASCII format output.  Madeline suggested using:

sink ("d:/donnees/habitanc/doublons.txt")
ancpo.doublons[,c(32, 47, 30, 10)]
sink()

for an ASCII format output also.

I didn't try Madeline's suggestion but I tried "export.data", with the
corrected argument "Columns", and "write.table".  While "export.data" took
over 30 minutes to complete, I got the same output with "write.table" in a
few seconds!  Definitely some big
overhead or something in "export.data"?

The original posting follows.

Thanks to all responders,

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean@spgdag.ca

"In God we trust all others must bring data"  W. Edwards Deming
---------------

Hello S-users,

S+2000, R3, on NT4.0, SP5

I am a bit frustrated this morning.  I am trying to export four column of a
small data set, 2194 rows, in ASCII format with no luck.

First I tried through the command window with the following code:

export.data(DataSet = "ancpo.doublons",
            Columns = c(32, 47, 30, 10),
            Rows = "ALL",
            Delimiter = " ",
            ColumnNames = T,
            Quotes = F,
            LineLength = "",
            FileName = "d:/donnees/habitanc/doublons.txt",
            FileType = "ASCII",
            OdbcConnection = "",
            OdbcTable = "")

S+ hungup.  I killed it, restarted it and tried to export through the GUI,
File --> Export Data --> To file, then filled the panel, submitted
the job but had no luck again, S+ hungup.

Any clues?  thanks,

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean@spgdag.ca

"In God we trust all others must bring data"  W. Edwards Deming

---------------------------------------------------------------------
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


<Prev in Thread] Current Thread [Next in Thread>
  • Summary: What's wrong with "export.data"?, Gerald . Jean <=