[Date Index] [Thread Index] [Author Index]
RE: reading from file
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.