#14008: Some R packages no longer can  be installed
----------------------------------------+-----------------------------------
       Reporter:  charpent              |         Owner:  tbd         
           Type:  enhancement           |        Status:  needs_review
       Priority:  major                 |     Milestone:  sage-5.7    
      Component:  packages              |    Resolution:              
       Keywords:  r-project             |   Work issues:              
Report Upstream:  N/A                   |     Reviewers:              
        Authors:  Emmanuel Charpentier  |     Merged in:              
   Dependencies:                        |      Stopgaps:              
----------------------------------------+-----------------------------------

Comment (by charpent):

 Replying to [comment:15 dimpase]:

 > Could you provide examples related to R packages which this is supposed
 to fix? (Even better, doctests, perhaps optional)

 An example is easy (but dangerous, see below), a doctest is not :
 installing an R package is '''supposed''' to have a '''permanent''' effect
 on the state of the installed system (an installed package stays installed
 between sessions). This, as far as I can tell, cannot be checked in a
 doctest.

 Furthermore, a newly installed R package needs a restart of Sage to be
 usable (or so says the final message given by r.install.packages()).

 An example is trivial : take example given for r.install_package(, which
 installs the R aami package). But :

  * the side effect is to have the R package aami permanently installed,
 which is not necessarily a Good Thing(TM).
  * if aami is already installed in the user's system, the example will
 fail.

 One could implement the following pseudocode :

 {{{
 if (aami is installed) {
         uninstall it
         demonstrate the uninstallation
         reinstall it
         demonstrate the installation
 } else {
         install it
         demonstrate the installation
         uninstall it
         demonstrate the uninstallation
 }

 }}}
 But this might be a bit contrived for an example, no ?

 An example which demonstrates the usefulness of this newer R version is to
 install the R package coda, I couldn't do that with sage 5.6 and R 2.14.0,
 I can do that with sage 5.6 and R 2.15.2.

 HTH,

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14008#comment:16>
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].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to