justin.cress
2010-08-31 01:04:04 UTC
this seems to be the most asked question, but before I ask it, i'd like to
assure everyone i've been googling around for a couple of hours now and
haven't figured out where i'm going wrong,
What i'd like to be able to do is load a bunch of column vectors from a csv
or text file (created by stata) and have octave grab the headers as variable
names. I've tried all the functions I could find documentation on, but none
of them work... csvread ignores headers, dlmread is the same... and load()
gives
error: load: failed to read matrix from file `ps1data.csv'
error: called from:
error: readtest.m at line 9, column 1
error: load: failed to read matrix from file `ps1data.txt'
error: called from:
error: readtest.m at line 9, column 1
for csv and tab delimit, respectively.
any help would be appreeciated.
assure everyone i've been googling around for a couple of hours now and
haven't figured out where i'm going wrong,
What i'd like to be able to do is load a bunch of column vectors from a csv
or text file (created by stata) and have octave grab the headers as variable
names. I've tried all the functions I could find documentation on, but none
of them work... csvread ignores headers, dlmread is the same... and load()
gives
error: load: failed to read matrix from file `ps1data.csv'
error: called from:
error: readtest.m at line 9, column 1
error: load: failed to read matrix from file `ps1data.txt'
error: called from:
error: readtest.m at line 9, column 1
for csv and tab delimit, respectively.
any help would be appreeciated.
--
View this message in context: http://octave.1599824.n4.nabble.com/new-to-octave-confused-about-load-dlmread-et-cetera-tp2400902p2400902.html
Sent from the Octave - General mailing list archive at Nabble.com.
View this message in context: http://octave.1599824.n4.nabble.com/new-to-octave-confused-about-load-dlmread-et-cetera-tp2400902p2400902.html
Sent from the Octave - General mailing list archive at Nabble.com.