search for: rtmpjhfjxw

Displaying 1 result from an estimated 1 matches for "rtmpjhfjxw".

2008 Sep 27
1
writeMat error
...ix(1:10) fn <- paste(tempfile(), ".mat", sep="") writeMat(fn, A=A, B=B) data <- readMat(fn) print(data) unlink(fn) onWrite <- function(x) writeBin(x$length, con=x$con, size=4, endian="big"); writeMat(fn, A=A, B=B, onWrite=onWrite) Does generate a file in /tmp/Rtmpjhfjxw -rw-r--r-- 1 dst dst 396 2008-09-27 12:46 file643c9869.mat When I try to read it into Matlab I get ??? Error using ==> load Unable to read MAT-file /tmp/Rtmpjhfjxw/file643c9869.mat File may be corrupt. (This is same error message as above link and occurs with old and current version of R.m...