#9668: Fix hardcoding of paths in R binary
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  tbd       
       Type:  defect    |         Status:  new       
   Priority:  major     |      Milestone:  sage-4.7.1
  Component:  packages  |       Keywords:            
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------

Old description:

> 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?
> }}}

New description:

 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

--

Comment(by leif):

 IIRC I have some "almost" ready R spkg for #9906, which also does a lot of
 clean-up in `spkg-install`...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9668#comment:2>
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.

Reply via email to