s-news
[Top] [All Lists]

[S] input of text

To: s-news@wubios.wustl.edu
Subject: [S] input of text
From: Robert Anthony Canales <rcanales@leland.stanford.edu>
Date: Wed, 28 Apr 1999 08:48:10 -0700 (PDT)
Sender: owner-s-news@wubios.wustl.edu
Hello,
        I have an existing function that takes in data generated from a
computer program.  The generated data has 5 fields or columns of data and
can have anywhere from 1 to 2000 rows.  The existing function uses the
read.table command and works fine for any table greater than 1 row.  For
generated data that is only 1 line, however, the first field is not
recognized even though the data is read in.  This creates problems in the
long run since I want to extract objects in the first field.  I would like
to find a way to correct the function to allow for both multi- and single
row data to be imported.  The scan command seems promising, but I still
can't get to the point where I can access individual fields.

Thanks,
Robert Canales  

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] input of text, Robert Anthony Canales <=