Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Manipulating current read position in a binary file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80323] Re: Manipulating current read position in a binary file
  • From: Aranthon <a.dwarf at gmail.com>
  • Date: Fri, 17 Aug 2007 01:56:24 -0400 (EDT)
  • References: <fa132d$mvv$1@smc.vnet.net><fa1cau$7ln$1@smc.vnet.net>

No, no, they help.  It was a few hours after I sent the post that I
managed to uncover these functions, and yeah, they're exactly what I
was looking for.  The new help browser set up in Mathematica 6 is . . . taking
some time to get used to navigating through.

On Aug 16, 7:27 am, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
wrote:
> Hi,
>
> and SetStreamPosition[] and StreamPosition[] does not help ?
>
> Regards
>    Jens
>
> Aranthon wrote:
> > Hello all,
>
> > I'm trying to read in a large data file (several million data points);
> > at the beginning of the file is the number of data points, but at the
> > end of the file is the number of bins into which the data will be
> > grouped.  Is there a way to skip to the end of the file to read in the
> > number of bins before returning to the beginning of the file to read
> > in the actual data?  I can do the analysis In another CAS, since there are
> > functions fseek and ftell, so that once I read in the number of data
> > points I can seek to the end, get the grouping count, then seek back
> > to the beginning, but I'd like to be able to do it in Mathematica.
>
> > Any suggestions?
>
> > Thanks,
>
> > Greg Anderson
> > Doctoral Candidate
> > University of Maryland




  • Prev by Date: generalized 2d IFS for D_n Cartan group using MathWorld DihedralGroupMatrices
  • Next by Date: RE: Manipulating current read position in a binary file
  • Previous by thread: Re: Manipulating current read position in a binary file
  • Next by thread: Cell Bracket Symbols