-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
See this thread on sage-support.
Here is how I got the optional package automap to install into a
binary sage R.
Go into the sage directory and edit the following files:
local/bin/R and local/lib/R/bin/R
and change all the hard-set user variables "/scratch/...." to the true
locations of R_HOME_DIR, R_HOME, R_INCLUDE_DIR, R_SHARE_DIR and for
good measure, R_DOC_DIR. Replace the default string EVERYWHERE in the
file.
I then exported SAGE_HOME as well (Not sure that this is needed.), and
run local/bin/R
Inside R, install.packages("automap")
No more build errors, and when I restart R, automap loads using
library. Just have to try it out from sage now.
Any chance there's a script to find all of these hard-set strings and
change them to correct values?
Related (R package):
- Move the RPy package outside of the R package #9906
- Handle preset R_PROFILE or R_HOME variables #9847
- R's spkg-install needs a good overhaul. #8274
- R breaks if SAGE_LOCAL undefined #10967
New spkg: http://boxen.math.washington.edu/home/palmieri/SPKG/r-2.15.2.p2.spkg
CC: @nexttime @jhpalmieri
Component: packages: standard
Keywords: R spkg R.sh.in libR.pc pkg-config hard-coded package installation R_HOME_DIR sd32 r-project
Author: John Palmieri
Reviewer: Karl-Dieter Crisman, Jeroen Demeyer
Merged: sage-5.9.rc0
Issue created by migration from https://trac.sagemath.org/ticket/9668