MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: accessing large files

  • To: mathgroup at
  • Subject: [mg15842] Re: [mg15707] accessing large files
  • From: "Tomas Garza" <tgarza at>
  • Date: Fri, 12 Feb 1999 18:40:02 -0500 (EST)
  • Sender: owner-wri-mathgroup at

Chuck McCallum wrote:

>Is there a way to read in parts of very large files (in my case about
>130 megs) using mathematica? I'm trying SetStreamPosition, but it gives
>me an error when I go to read in a byte, because I'm reading past the
>end of the buffer.


My naive advice is that you use an appropriate database manager --
something like Microsoft Access --, which can easily handle files that
size (I have used it without any hitch with precisely that size files)
in order to select and prepare those parts of your files which you want
to be read on any given session, and save them as text with tab
delimiters, which you can then read into Mathematica with ReadList.
This is straightforward and painless.

Good luck,

Tomas Garza
Mexico City

  • Prev by Date: Re:multiple linear regression
  • Next by Date: tweaking log plots
  • Previous by thread: accessing large files
  • Next by thread: RE: Re: accessing large files