Re: accessing large files
- To: mathgroup at smc.vnet.net
- Subject: [mg15842] Re: [mg15707] accessing large files
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Fri, 12 Feb 1999 18:40:02 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
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. Chuck, 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