#18229: Upgrade R to 3.2.0
-------------------------------------+-------------------------------------
       Reporter:  charpent           |        Owner:  charpent
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.7
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  r-project          |    Reviewers:  Vincent Delecroix
        Authors:  Emmanuel           |  Work issues:
  Charpentier, Leif Leonhardy        |       Commit:
Report Upstream:  Reported           |  bc2269e64ccb2f5fcc83cf62085eeeb53d7e1dcf
  upstream. No feedback yet.         |     Stopgaps:
         Branch:                     |
  u/leif/R_upgrade_with_new_patch    |
   Dependencies:  #18254             |
-------------------------------------+-------------------------------------

Comment (by leif):

 Last chance for further changes: ;-)
 {{{
 #!diff
 diff --git a/build/pkgs/r/spkg-install b/build/pkgs/r/spkg-install
 index 06a340d..f02bea9 100755
 --- a/build/pkgs/r/spkg-install
 +++ b/build/pkgs/r/spkg-install
 @@ -153,15 +153,15 @@ if [ $? -ne 0 ]; then
  fi

  if [ "$UNAME" = "Darwin" ]; then
 -    # We have to move old installs of R when upgrading R in Sage on OS X.
 -    # Indeed Sage modifies DYLD_LIBRARY_PATH whereas R build process
 -    # modifies DYLD_LIBRARY_PATH, so that it is Sage's R and not the
 freshly
 -    # built one which will get loaded during the build process and if
 they are
 -    # different versions then the build process might fail.
 +    # We have to move (i.e., hide) old installs of R when upgrading R in
 Sage on OS X.
 +    # Indeed Sage modifies DYLD_LIBRARY_PATH whereas R's build process
 +    # modifies DYLD_FALLBACK_LIBRARY_PATH, so that it is Sage's R and not
 the freshly
 +    # built one which will get loaded during the build process; in case
 the versions
 +    # differ, the build process might fail.
      # On systems using LD_LIBRARY_PATH, both Sage and R modify it and R
 wins,
      # so no problem should occur.
      if [ -d "$SAGE_LOCAL"/lib/R ]; then
 -        RINSTALL_MOVED = yes
 +        RINSTALL_MOVED=yes
          mv "$SAGE_LOCAL"/lib/R "$SAGE_LOCAL"/lib/R.old
      fi
  fi
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18229#comment:87>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to