[R] problem installing packages with compiled-from-source R.app on Mac OS X - Tiger

From: Constantinos Antoniou <antoniou_at_central.ntua.gr>
Date: Wed 15 Jun 2005 - 02:50:45 EST


Hello all,

This may be aimed for r-devel, but I encountered this as an R-user and not an R-developer so I start here (having said that, please direct me to R-devel if you think this is appropriate. I am not cross- posting, as I believe this is bad netiquette).

I am a recent, but extremely happy R-user (especially after getting my own copy of MASS 2002). My adventures started when I wanted to use Rpy to use R also from within python. I compiled R (2.1.0) after configuring it as follows:

./configure --enable-R-shlib --with-blas='-framework vecLib' --with- lapack --with-aqua

where --enable-R-shlib is required by Rpy.

I then compiled Rpy-0.4.2.1 and I was able to call R from within python. So far so good...

I then -naively- tried to start R.app. After less than a bounce on the dock... it would not start. [Sorry, I do not remember what problem was showing up in the console...]

So, I figured I had to also compile R.app. I got the code via:

svn co https://svn.r-project.org/R-packages/trunk/Mac-GUI Mac- GUI (executed this command yesterday)

and compiled it as per the instructions... And R.app launches just fine.

Now, the issue comes when I try to install a(ny) package (via the GUI package installer of R.app). I then get the following message:

"Package installation failed. Package installation was not successful. Please see the R console for details"

And the R console says:

"Error in install.packages(c("dyn"), lib = "/Library/Frameworks/ R.framework/Resources/library", :

     couldn't find function ".install.macbinary""

I see that this has been encountered before and resolved (at least Prof. Ripley saw what was wrong) as per the following thread:

https://stat.ethz.ch/pipermail/r-devel/2005-May/033115.html

But I am not sure what needs to be done on my part so that I am not affected from it.

 > str(.Platform)
List of 6
$ OS.type : chr "unix"
$ file.sep : chr "/"
$ dynlib.ext: chr ".so"
$ GUI : chr "X11"
$ endian : chr "big"
$ pkgType : chr "source"

 > R.version.string
[1] "R version 2.1.0, 2005-04-18"

gcc version 4.0.0

[Please let me know what other information may be relevant]

Thanking you in advance,

Costas

--
Constantinos Antoniou, Ph.D.
Department of Transportation Planning and Engineering
National Technical University of Athens
5, Iroon Polytechniou str. GR-15773, Athens, Greece

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jun 15 03:06:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:36 EST