#5634: installing optional R packages is broken
-----------------------------------+----------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* cc: jdemeyer (added)
* reviewer: => Karl-Dieter Crisman
* status: new => needs_review
* component: optional packages => packages
Comment:
I just installed an optional package earlier today in front of a very
heavy R user, and it worked. The package Matrix is now actually built in
Sage's R, as a 'recommended' package, in fact, so the specific example
above clearly is not correct any more. Here are some examples.
{{{
----------------------------------------------------------------------
| Sage Version 4.6.2, Release Date: 2011-02-25 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: r.library('Matrix') # no error, so ok
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
<snip>
> options(repos="http://cran.r-project.org/"); install.packages("actuar")
trying URL 'http://cran.r-project.org/src/contrib/actuar_1.1-1.tar.gz'
Content type 'application/x-gzip' length 844553 bytes (824 Kb)
opened URL
==================================================
downloaded 824 Kb
* installing *source* package ‘actuar’ ...
** libs
<snip normal gcc build messages>
** R
** data
** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
* DONE (actuar)
The downloaded packages are in
‘/private/var/folders/Yy/YytEJm5VEB0+pBRD7JNLe++++TQ/-Tmp-/RtmpkOoOEc/downloaded_packages’
Updating HTML index of packages in '.Library'
>
real 0m12.514s
user 0m5.989s
sys 0m1.154s
Please restart Sage in order to use 'actuar'.
sage: r.library('actuar') # again, no error, so ok
}}}
Without more details, and given the age of the ticket, I believe this
ticket should be closed. I claim no credit for it, other than observing
it works - probably fixed someplace along the line and no one noticed this
ticket.
Changing component, since the optional package is for R; R itself is a
standard Sage package.
To release manager: please close this ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5634#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.