Hi kcrisman, Yes, this was the latest binary release of sage, on an ubuntu machine, sage-4.5-linux-64bit-ubuntu_10.04_lts-x86_64-Linux.tar.lzma
I suspect that the only thing I need to change is the R_INCLUDE_HOME= lines, but when I try to get something working, I don't like to leave anything to chance. Saves testing and editing time. :) Joal Heagney On Aug 3, 12:34 am, kcrisman <kcris...@gmail.com> wrote: > Dear Joal, > > Was this a downloaded binary? The variable '/scratch/...' seems to > indicate this is the case. This is usually not a problem on a 'home- > built' one - I've installed lots of R packages using > > sage: r.install_packages() > > I'm opening a Trac ticket for this, but unfortunately don't know > enough about building to fix it. This is > nowhttp://trac.sagemath.org/sage_trac/ticket/9668 > > Thanks! And glad you were able to get it working. > > - kcrisman > > On Aug 2, 8:29 am, ancienthart <joalheag...@gmail.com> wrote: > > > *sigh* > > And I bludgeon the solution out the very next night. > > 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? > > > Joal Heagney > > > On Aug 1, 11:02 am, ancienthart <joalheag...@gmail.com> wrote: > > > > Hi guys and gals, > > > I'm having some difficulty installing gstat, automap and sp into the > > > sage R environment. > > > I keep getting an error saying that the "sage R include directory is > > > empty" > > > > Is there a way I can fix this? > > > > Joal Heagney -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org