Before hitting delete, this is not really about Solaris!
A build problem was recently discovered on Solaris where R fails to build some
modules (Matrix, class, mgcv, rpart, spatial and survival).
http://trac.sagemath.org/sage_trac/ticket/9201
This is not a fatal error, so R reports it has successfully installed.
===================================
Successfully installed r-2.10.1.p1
===================================
but if, after Sage is built, one tries to load one of these, an error is
generated.
=======================================================
rkir...@redstart:~/32/sage-4.4.3$ ./sage
----------------------------------------------------------------------
| Sage Version 4.4.3, Release Date: 2010-06-04 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: r.library('Matrix')
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/export/home/drkirkby/32/sage-4.4.3/<ipython console> in <module>()
/export/home/drkirkby/32/sage-4.4.3/local/lib/python2.6/site-packages/sage/interfaces/r.pyc
in library(self, library_name)
572 # try hard to parse the message string in a locale-independent
way
etc etc
======================================================
In fact. ALL these generate errors on Solaris.
sage: r.library('Matrix')
sage: r.library('class')
sage: r.library('mgcv')
sage: r.library('rpart')
sage: r.library('spatial')
sage: r.library('survival')
One of the things we should do, is when we get bug reports, we write a test to
detect that bug, and to make sure it does not creep back in again.
It seems particularly appropriate to bring this up now since testing is a hot
topic.
When I type "help(r.library)" there is two exmaples. One loads the "grid"
library and the other is an example of a failure to load the "foobar" library.
Obviously "grid" works on Solaris, otherwise the doctest would faiil, but
Matrix, class, mgcv, rpart, spatial and survival will not. Hence it would be
desirable to have tests for these - either as extra documentation, or as tests
which don't don't get in the manual.
Any help appreciated.
Dave
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org