-
-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
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.
Depends on #9668
CC: @jasongrout @williamstein @nexttime
Component: packages: standard
Keywords: R script SAGE_LOCAL R.sh.in spkg local/bin r-project
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/10967