- #1
rynlee
- 45
- 0
I'm having trouble getting data into mathematica.
I have a text file will a list with members separated by returns (enters) that I want to import as an array. I tried:
Import["data.txt", "Table"]
Import["data.dat", "Table"]
Import["data.txt"]
Import["data.dat"]
All of which failed to find the file, even though it is stored in the same directory. Finally I tried
Import["C:/Users/.../data.txt", "Table"]
(the ... is all the folders in between)
And it gives me this message (not an error, its just this is all it outputs):
System`Convert`TableDump`GetData(System`Convert`TableDump`ImportTable(C:\Users\Darin\Documents\Darin Live Sync Folder\Organizations\MIT\Classes\5_74 QMII\PSet 5\data.txt))
I'm pulling my hair out trying to get this thing to work, any guidance would be deeply appreciated.
The .nb file is stored in the same directory as the data file.
Thanks
I have a text file will a list with members separated by returns (enters) that I want to import as an array. I tried:
Import["data.txt", "Table"]
Import["data.dat", "Table"]
Import["data.txt"]
Import["data.dat"]
All of which failed to find the file, even though it is stored in the same directory. Finally I tried
Import["C:/Users/.../data.txt", "Table"]
(the ... is all the folders in between)
And it gives me this message (not an error, its just this is all it outputs):
System`Convert`TableDump`GetData(System`Convert`TableDump`ImportTable(C:\Users\Darin\Documents\Darin Live Sync Folder\Organizations\MIT\Classes\5_74 QMII\PSet 5\data.txt))
I'm pulling my hair out trying to get this thing to work, any guidance would be deeply appreciated.
The .nb file is stored in the same directory as the data file.
Thanks