Skip to content
Prev 30728 / 398513 Next

import data from Matlab & error msg when install package "e1071"

Yan Yu wrote:
Well, not `2.96', apparently, which actually does not exist (see former
messages in the mail archives on this topic). This `version' of gcc is
buggy and at least breaks the `svm' code in e1071, that's why this check
has been added. So you are well advised to upgrade your compiler suite
anyway.
Depends on your data. If you only have tabular data and your MATLAB file
uses ascii representation, `read.table' could be your friend. If you
insist on using `read.octave' from e1071 without updating your
C-compiler, just source the `read.octave.R' file from the source
package, it's plain R code and so is not affected by any C compiler. For
more complex data, you might consider using `StatDataML'---the R package
is on CRAN, the corresponding MATLAB functions will appear at

http://www.omegahat.org/StatDataML/

by the end of this week.

Best,
David.