Displaying 1 result from an estimated 1 matches for "octavedata".
2012 Mar 27
1
read.octave fails with data from Octave > 3.2.X
...m afraid that the function read.octave from package "foreign" has
some problems with the ASCII data format exported by new versions of
Octave (later than 3.2.X). It fails even for a simple case as:
[Octave code:]
octave:1> x=1;
octave:2> save -ascii testdata.mat x
[Now in R:]
> octavedata <- read.octave('testdata.mat')
Mensajes de aviso perdidos
In read_octave_unknown(con, type) : cannot handle unknown type ''
In this simple case I guess that the problem is that new versions
Octave append two blank lines after each variable, and this confuses the
current implemen...