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

MathGroup Archive 2004

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

Search the Archive

Re: Mathematica 5 I/O memory issues.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49524] Re: Mathematica 5 I/O memory issues.
  • From: bryn at acm.augsburg.edu (B. Bue)
  • Date: Thu, 22 Jul 2004 02:46:53 -0400 (EDT)
  • References: <200407130832.EAA09640@smc.vnet.net> <cd5ogv$b0f$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thank you for the suggestions. I managed to work around the problem by
writing a function that outputs smaller portions of the array
incrementally. Since I had a bit of difficulty with this issue, I
thought I'd post the function here in case others have similar
problems.

buffWrite[file_, list_, nl_, inc_] :=
  For[i = 1, i < nl, i += inc, 
    If[i < nl - inc,
      WriteString[file, OutputForm[TableForm[Take[list, {
    i, i + inc - 1}], TableSpacing -> {0, 1}]]],
      WriteString[file, OutputForm[TableForm[Take[list, {i, 
          nl}], TableSpacing -> {0, 1}]]]
      ]
    ]


  • Prev by Date: Re: MatrixManipulation package doesn't know how to handle SparseArrays?
  • Next by Date: Re: If-statement problems
  • Previous by thread: Re: Mathematica 5 I/O memory issues.
  • Next by thread: Re: Mathematica 5 I/O memory issues.