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
|