Constantinos Antoniou
2005-Jun-14 16:50 UTC
[R] problem installing packages with compiled-from-source R.app on Mac OS X - Tiger
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
Prof Brian Ripley
2005-Jun-14 19:13 UTC
[R] problem installing packages with compiled-from-source R.app on Mac OS X - Tiger
You need to use R-patched, nowadays 2.1.1 beta, not the released R 2.1.0. As far as I know it is fixed there. On Tue, 14 Jun 2005, Constantinos Antoniou wrote:> 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 at 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 >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Apparently Analagous Threads
- error loading Matrix in Mac OSX 10.4
- mixed effects models - negative binomial family?
- vlmc - "In vlmc(traffic.clusters.stationary, cutoff = i) : alphabet with >1-letter strings; trying to abbreviate"
- Unbundling gregmisc (was: loading gap package)
- Unbundling gregmisc (was: loading gap package)