Hi.

On Tue, Jul 12, 2011 at 5:40 PM, Eduardo M. A. M. Mendes
<emammen...@gmail.com> wrote:
> Hello
>
> I need to run an r-file that works on Windows on MAC.   The first lines of 
> the file are:
>
> library(R.matlab)
> library(Rcompression)

Are you sure you need Rcompression?  If this is about reading (Matlab)
MAT files, the readMat() function of R.matlab will only need
Rcompression if the MAT files are compressed, which they may not be.
Also, if readMat() needs the Rcompression package, it will load it
automatically, i.e. you do not have to load it explicitly as above.
It may or may not be that the person who wrote your script added
"library(Rcompression)" because s/he knows that it is needed, but it
could also be added by mistake.  Thus, try without that line and if
Rcompression is really needed, R.matlab/readMat() will throw an error
telling you so.

/Henrik

>
> Somehow I cannot find where Rcompression is.  Am I missing something?
>
> Many thanks
>
> Ed
>
> ______________________________________________
> 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-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.

Reply via email to