[R] Why I am not able to load library(R.matlab)? Other packages are fine.

Henrik Bengtsson henrik.bengtsson at ucsf.edu
Thu May 28 21:30:35 CEST 2015

For some unknown reason, you've managed to install R.matlab without
the dependency R.methodsS3 (cf.
http://cran.r-project.org/web/packages/R.matlab/) or it happened due
to some other glitch somewhere.

Try to reinstall R.matlab.  If that doesn't help, explicitly install
R.methodsS3 and retry.  If you get the same error with the other
dependencies (R.oo and R.utils), do the same.


On Thu, May 28, 2015 at 11:47 AM, C W <tmrsg11 at gmail.com> wrote:
> Dear R list,
> I am trying to do use the R.matlab library, I did the following, but it
> does not work.
>> library(R.matlab)
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
> = vI[[j]]) :
>   there is no package called ‘R.methodsS3’
> Error: package or namespace load failed for ‘R.matlab’
> This is my session info.
>> sessionInfo()
> R version 3.2.0 (2015-04-16)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.10.3 (Yosemite)
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> My R is up-to-date, R 3.2.0.  Why is this happening?  Is it because I
> installed the new R version, instead of updating it?  Maybe things are in a
> different directory?
> Thanks so much,
> Mike
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

More information about the R-help mailing list