MathGroup Archive 2007

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

Search the Archive

RE: reading from file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80154] RE: [mg80115] reading from file
  • From: "David Annetts" <davidannetts at aapt.net.au>
  • Date: Tue, 14 Aug 2007 06:52:58 -0400 (EDT)
  • References: <200708130827.EAA27204@smc.vnet.net>

Hi Jesse,

<snippage>

> C:\Documents and Settings\All Users\Application 
> Data\Mathematica\Applications\ \IPM3\DataFiles\dataset.m
> 
> data = Import[datafile, "Table"]
> 
> $Failed
> 
> The idea is to read in file dataset.m and to use it as data.
> 
> In the event this was some v6 quirk, I tried this with 
> Mathematica 5.2 and it also didn't work
> 
> What am I doing wrong?

Usually, you'd see an error message before the $Failed.  Without this error
message, it's difficult to say whether the error is related to the file
name, or the contents of the file.

Are you sure the file is in "All users" rather than your usual home
directory?

Regards,

Dave.


  • Prev by Date: gplv3 not allowed yet
  • Next by Date: RE: question about a book
  • Previous by thread: reading from file
  • Next by thread: Re: reading from file