ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 01 Oct 2012 09:17:25 +0200Use different R version than the one includedhttps://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/I'm trying to use an R package that just HAS to have the latest version of R. Is there a way to have Sage interface to the latest R version installed elsewhere on my computer instead of the version that comes with Sage?
(sorry, seems like this probably has been asked and answered before, but I searched and couldn't find it)Sun, 30 Sep 2012 14:27:12 +0200https://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/Answer by John Palmieri for <p>I'm trying to use an R package that just HAS to have the latest version of R. Is there a way to have Sage interface to the latest R version installed elsewhere on my computer instead of the version that comes with Sage?</p>
<p>(sorry, seems like this probably has been asked and answered before, but I searched and couldn't find it)</p>
https://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/?answer=14089#post-id-14089I have no idea if this will work, but you could try:
- removing the files `SAGE_ROOT/local/bin/R` and `SAGE_ROOT/local/bin/Rscript`, and creating instead (symbolic) links pointing to the R installation you want to use.
- do similarly with the directory `SAGE_ROOT/local/lib/R/`Sun, 30 Sep 2012 19:08:28 +0200https://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/?answer=14089#post-id-14089Comment by kcrisman for <p>I have no idea if this will work, but you could try:</p>
<ul>
<li>removing the files <code>SAGE_ROOT/local/bin/R</code> and <code>SAGE_ROOT/local/bin/Rscript</code>, and creating instead (symbolic) links pointing to the R installation you want to use.</li>
<li>do similarly with the directory <code>SAGE_ROOT/local/lib/R/</code></li>
</ul>
https://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/?comment=18954#post-id-18954It's worth a try, but don't be disappointed if it doesn't work right away. You could also try upgrading the spkg - see the developer guide for how to change spkgs.Mon, 01 Oct 2012 09:17:25 +0200https://ask.sagemath.org/question/9371/use-different-r-version-than-the-one-included/?comment=18954#post-id-18954