#10967: R breaks if SAGE_LOCAL undefined
--------------------------+-------------------------------------------------
Reporter: ahd | Owner: amhou
Type: defect | Status: new
Priority: minor | Milestone: sage-4.7
Component: statistics | Keywords: R
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
Description changed by ahd:
Old description:
> horatio@havelock ~ $ R
> /Users/horatio/bin/R: line 212: /lib/R//etc/ldpaths: No such file or
> directory
>
> This is because on line 31 of the script someone rewrote $R_HOME_DIR in
> terms of $SAGE_LOCAL. When SAGE_LOCAL is missing from the environment of
> the running shell, the R script breaks. The fix is to test for empty
> SAGE_LOCAL before the rewrite.
New description:
horatio@havelock ~ $ R
/Users/horatio/bin/R: line 212: /lib/R//etc/ldpaths: No such file or
directory
This is because on line 31 of the script someone rewrote $R_HOME_DIR in
terms of $SAGE_LOCAL. When SAGE_LOCAL is missing from the environment of
the running shell, the R script breaks. The fix is to test for empty
SAGE_LOCAL before the rewrite.
This is from Sage version 4.6.2.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10967#comment:1>
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.