s-news
[Top] [All Lists]

Re: problems with importData

To: s-news@lists.biostat.wustl.edu
Subject: Re: problems with importData
From: Glenn.Treacy@ILIM.COM
Date: Wed, 14 Apr 2004 17:52:53 +0100
Hi,

I'm using S+6.1 on NT4 and I am using importData to read in large tab
delimited text files. I have found that if one of my columns starts with the
value NA then that row is dropped. It appears to try to interpret that row
as column names. If the text file has column names then it reads in
perfectly. Does anyone have an idea what I need to do to read in headerless
text files without the first row being dropped?

While I'm on the subject, does anyone have views on what is the most
efficient method of reading in large text files.Typically I need to read in
several large text files which I then rbind in S+ but I have found problems
with memory doing this (admittedly this was with S+2000). Are there
advantages to read.table or openData?

Regards,
Glenn Treacy


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept 
for the presence of computer viruses.
**********************************************************************


<Prev in Thread] Current Thread [Next in Thread>