• 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/