I was hoping that new release 4.7 will fix the problem, seeing that
the ticket 5634 has been closed. However, I just tried to install a
new package and got an error message:
=====
Detected SAGE64 flag
Building Sage on OS X in 64-bit mode
----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: r.install_packages('actuar')
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> options(repos="
http://cran.r-project.org/"); install.packages("actuar")
trying URL '
http://cran.r-project.org/src/contrib/actuar_1.1-2.tar.gz'
Content type 'application/x-gzip' length 1457732 bytes (1.4 Mb)
opened URL
==================================================
downloaded 1.4 Mb
* installing *source* package ‘actuar’ ...
** libs
Warning: R include directory is empty -- perhaps need to install R-
devel.rpm or similar
make: /Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.7/
local/lib/R/share/make/
shlib.mk: No such file or directory
make: *** No rule to make target `/Users/buildbot/build/sage/bsd-1/
bsd_64_binary/build/sage-4.7/local/lib/R/share/make/
shlib.mk'. Stop.
ERROR: compilation failed for package ‘actuar’
* removing ‘/Applications/
Sage-4.7-OSX-64bit-10.6.app/Contents/
Resources/sage/local/lib/R/library/actuar’
The downloaded packages are in
‘/private/var/folders/D8/D8+XDdMDEJ4XIybIIPvnt++++TQ/-Tmp-/RtmpZeAJMz/
downloaded_packages’
Updating HTML index of packages in '.Library'
Warning messages:
1: In install.packages("actuar") :
installation of package 'actuar' had non-zero exit status
2: In file.create(
f.tg) :
cannot create file '/Users/buildbot/build/sage/bsd-1/bsd_64_binary/
build/sage-4.7/local/lib/R/doc/html/packages.html', reason 'No such
file or directory'
3: In tools:::unix.packages.html(.Library) :
cannot create HTML package index
>
real 0m3.328s
user 0m0.927s
sys 0m0.196s
Please restart Sage in order to use 'actuar'.
sage:
=====
I do not understand, am I missing something on my Mac or the way sage
has been compiled for Mac still does not support R packages
installation?
Regards,
Kirill