0

I want to use the same directory for my addon R-packages that I use in standalone R. The following works from within sage:

r(".libPaths('/home/USERNAME/R/my-libraries')")

But when I include this line in ~/.sage/sagerc or ~/.sage/sage.init it doesn't work. Is there a file in the /opt/sage/ - tree where I can configure this?

lambu0815
  • 311
  • 1
  • 2
  • 9

1 Answers1

0

I think the proper place to do this is ~/.sage/init.sage. Or was that a typo? (In which case I'm really surprised it works in Sage but not there.)

kcrisman
  • 4,374
  • 20
  • 41