Re: [R] : writeMat

2008-09-10 Thread erola pairo
Hi,

that's the information about R and R.matlab:

*R version 2.6.2 (2008-02-08)
x86_64-pc-linux-gnu

locale:
C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

other attached packages:
[1] R.matlab_1.2.3R.oo_1.4.5R.methodsS3_1.0.3 MASS_7.2-44

loaded via a namespace (and not attached):
[1] rcompgen_0.1-17
*
The matlab's version i'm using is* Matlab.7.6.0.  *and the error matlab
gives me is:

*??? Error using == load
Unable to read MAT-file /home/erola/Dades/Saccharomyces cerevisiae/A.mat

File may be corrupt.*

I tried to put in matlab preferences -v6 saving, but it doesn't work.

I have the same  Matlab's version that a month ago, I thought that it was
all the same but I have a problem with my computer and I have to reinstall
all again, and somethimg is been changed, but I don't know what.

Thank you.



On Tue, Sep 9, 2008 at 8:58 PM, Henrik Bengtsson [EMAIL PROTECTED]wrote:

 Hi,

 On Tue, Sep 9, 2008 at 9:53 AM, erola pairo [EMAIL PROTECTED] wrote:
  I write a .mat file using the writeMat() command, but when i try to load
 it
  in Matlab it says that  file may be corrupt. I did it a month ago and it
  worked. It exists any option that I can change for making the file
 readable
  to Matlab?
 
  A  -  c(1:10)
  dim(A) - c(2,5)
  library(R.matlab)
  writeMat('A.mat', A=A)
 
  And what matlab say is:
  file may be corrupt

 you need to provide much more information that this.  Please see the
 posting guides for the list (see footer), and provide sessionInfo() so
 we know what version of R and R.matlab you are using.  What version of
 Matlab are you using?  If it worked a month ago, what have you changed
 since then?

 Cheers

 Henrik
 (author of R.matlab)

 
  Regards
 
 [[alternative HTML version deleted]]
 
  __
  R-help@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] : writeMat

2008-09-09 Thread erola pairo
I write a .mat file using the writeMat() command, but when i try to load it
in Matlab it says that  file may be corrupt. I did it a month ago and it
worked. It exists any option that I can change for making the file readable
to Matlab?

 A  -  c(1:10)
 dim(A) - c(2,5)
 library(R.matlab)
 writeMat('A.mat', A=A)

And what matlab say is:
file may be corrupt

Regards

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.