MathGroup Archive 2000

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

Search the Archive

Re: How to get two values from a file into two lists?


Hi,

Try ReadList["filename",{Number,Number}].  Make sure that you set the current
working directory using the SetDirectory command to that which your file
resides.

Lawrence

robpeterson at iname.com wrote:

> I'm embarrassed to ask for help here since this must be so simple.
> But, I can't pull it off.  And there are many kind souls here that
> have taken the time to help me in the past.  I hope I'm not pushing my
> luck.....
>
> I have a text file with x and y values, space delimited (Mathematica likes
> that I gather) with CR LF at the end of each pair:
>
> x1 y1 <ret>
> x2 y2 <ret>



  • Prev by Date: RE: Using output of a Fit
  • Next by Date: Re: Rule
  • Previous by thread: Re: How to get two values from a file into two lists?
  • Next by thread: syntax help..