[R-SIG-Mac] RE: R.matlab
Henrik Bengtsson
hb at maths.lth.se
Fri Nov 5 11:31:25 CET 2004
[Sorry if this is a repost, but I got an odd error message previously trying
to reply to 'r-sig-mac-request at stat.math.ethz.ch']
Hi. I (the author) got a similar problem report two weeks ago and it was
also from a person running R v2.0.0 on Mac OS X. I do not have access to
this system so unfortunately I cannot troubleshoot it myself.
The solution that worked for this person was to download the bundle manually
http://www.maths.lth.se/help/R/R.classes_0.55.tar.gz
and run
R CMD INSTALL R.classes_0.55.tar.gz
from the system's command prompt.
Does this work?
If it does, it is a good starting point for troubleshooting. The problem
seems to be that R.oo is not available (==installed) when it tries to
install R.audio, which depends on R.oo. I'm not 100% sure from your log
(below), if R tried (failed, succeeded?) to install the R.oo package first,
and then tried to install R.audio (your error message), or if it starts with
R.audio first.
Have someone else on the R-SIG-Mac list experienced this? Try
install.packages("R.classes", contriburl="http://www.maths.lth.se/help/R")
Currently, it seems to me that this is a OSX problem only (based on sample
size n=2). If not, I will check with the r-devel list.
Best wishes
Henrik Bengtsson
> -----Original Message-----
> From: Nathan Weisz [mailto:Nathan.Weisz at uni-konstanz.de]
> Sent: Thursday, November 04, 2004 5:22 PM
> To: r-sig-mac-request at stat.math.ethz.ch
> Cc: hb at maths.lth.se
> Subject: R.matlab
>
>
> Hi,
>
> one of my favourite packages for R is R.matlab which comes with
> R.classes (from Henrik Bengtsson). After upgrading to R 2.0
> on Mac OS X
> I attempted to reinstall this package with:
> install.packages("R.classes",
> contriburl="http://www.maths.lth.se/help/R")
> as described on this webpage:
> http://www.maths.lth.se/help/R/R.classes/
> At the end of the installation I get ugly error messages
> (pasted at end
> of email). Calling R.matlab shows me that it's not installed.
> > library(R.matlab)
> Error in library(R.matlab) : There is no package called 'R.matlab'
>
> Does any one have any hints how to get this working?
>
> Best,
> Nathan
>
>
>
> -----UGLY ERROR MESSAGES-----
> * Installing *source* package 'R.audio' ...
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> Loading required package: R.oo
> Error in eval(expr, envir, enclos) : The R.oo package is
> missing. In addition: Warning message: There is no package
> called 'R.oo' in: library(package, character.only =
> TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
> Execution halted
> ** Removing '/Users/nathan/Library/R/library/R.oo'
> ERROR: lazy loading failed for package 'R.audio'
> ** Restoring previous '/Users/nathan/Library/R/library/R.oo'
> ** Removing '/Users/nathan/Library/R/library/R.audio'
> ** Restoring previous '/Users/nathan/Library/R/library/R.audio'
> ** Removing '/Users/nathan/Library/R/library/R.basic'
> ** Removing '/Users/nathan/Library/R/library/R.colors'
> ** Removing '/Users/nathan/Library/R/library/R.graphics'
> ** Removing '/Users/nathan/Library/R/library/R.io'
> ** Removing '/Users/nathan/Library/R/library/R.lang'
> ** Removing '/Users/nathan/Library/R/library/R.matlab'
> ** Removing '/Users/nathan/Library/R/library/R.ui'
>
> Delete downloaded files (y/N)?
> The packages are in /tmp/Rtmp1305/Rinstdir10d63af1
> Warning messages:
> 1: argument 'lib' is missing: using
> /Users/nathan/Library/R/library in:
> install.packages("R.classes", contriburl =
> "http://www.maths.lth.se/help/R")
> 2: Installation of package R.classes had non-zero exit status in:
> install.packages("R.classes", contriburl =
> "http://www.maths.lth.se/help/R")
> > install.packages("R.oo",
> contriburl="http://www.maths.lth.se/help/R")
> trying URL `http://www.maths.lth.se/help/R/PACKAGES'
> Content type `application/octet-stream' length 257 bytes
> opened URL
> ==================================================
> downloaded 257 bytes
>
> Warning messages:
> 1: argument 'lib' is missing: using
> /Users/nathan/Library/R/library in:
> install.packages("R.oo", contriburl =
> "http://www.maths.lth.se/help/R")
> 2: No package "R.oo" on CRAN. in: download.packages(pkgs, destdir =
> tmpd, available = available,
>
>
>
More information about the R-SIG-Mac
mailing list