Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

Re: reading with ReadList


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10295] Re: reading with ReadList
  • From: Bill Bertram <wkb@ansto.gov.au>
  • Date: Mon, 5 Jan 1998 03:47:16 -0500
  • Organization: ANSTO
  • References: <68n2oe$pm6@smc.vnet.net>

C.OSBORNE wrote:
> 
> I am having difficulties reading a list of data into Mathematica. I have
.......
.......
> csat2=Table[ReadList["c:\craigd\almgna\morbplen\5510\csat9070.dat",Number,Re
> cordLists->True]]
> 
> I get "$Failed"

You are using incorrect syntax for specifying the paths of your
directories.
You should write them as,

            "c:\\craigd\\almgna\\morbplen\\5510\\csat9070.dat"

Note the use of \\ instead of \.

Cheers,
Bill



  • Prev by Date: Re: Convert long String to large Array
  • Next by Date: Re: reading with ReadList
  • Prev by thread: Re: reading with ReadList
  • Next by thread: Re: reading with ReadList