id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
9668,Fix hardcoding of paths in R binary,kcrisman,leif,"See [http://groups.google.com/group/sage-devel/browse_thread/thread/b35848f099c763a9 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):
* #9906
* #9847
* #8274
* #10967
----
New spkg: [http://boxen.math.washington.edu/home/palmieri/SPKG/r-2.15.2.p2.spkg]",defect,closed,major,sage-5.9,packages: standard,fixed,R spkg R.sh.in libR.pc pkg-config hard-coded package installation R_HOME_DIR sd32 r-project,leif jhpalmieri,sage-5.9.rc0,John Palmieri,"Karl-Dieter Crisman, Jeroen Demeyer",N/A,,,,,