[18811] in s-news-athena

home help back first fref pref prev next nref lref last post

Re: [S] reading files a portion at a time (fwd)

daemon@ATHENA.MIT.EDU (Ranjan Maitra)
Mon Aug 2 11:08:06 1999

Date: Mon, 2 Aug 1999 11:04:02 -0400 (EDT)
From: Ranjan Maitra <maitra@math.umbc.edu>
To: S-news <s-news@wubios.wustl.edu>
Message-Id: <Pine.LNX.4.04.9908021103220.1690-100000@param.math.umbc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I got the following from Chuck Taylor: thanks, Chuck!

Ranjan

---------- Forwarded message ----------
Date: Mon, 2 Aug 1999 08:00:40 -0700 (PDT)
From: Chuck Taylor <chuck@statsci.com>
To: Ranjan Maitra <maitra@math.umbc.edu>
Subject: Re: [S] reading files a portion at a time

On Mon, 2 Aug 1999, Ranjan Maitra wrote:

> Does anyone know how I can read a file a portion at a time. As an example:
> suppose I have a file of 100 numbers. I want to read 50 of these, do some
> operations, and then read the remaining 50. 

Splus 5.0 and 5.1 on Unix include a function called "readNextDataRows", which
does exactly what you are asking for. 

|-----------------------------------------------------------------------| 
| Chuck Taylor                       Senior Quality Assurance Engineer  |
| MathSoft Seattle, WA, USA          chuck@statsci.com                  |
|                                                                       |
| "All statements in this message represent the opinions of the author  |
| and do not necessarily reflect official MathSoft policy or position." |
|-----------------------------------------------------------------------|


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

home help back first fref pref prev next nref lref last post