1 | initial version |

You need to switch to a shell with the same environment variable settings that Sage uses. `sage -sh`

starts such a shell for you, and then package installation will work on sage's copy of R instead of the system copy. More details are described for a similar question here:

http://ask.sagemath.org/question/1252/using-psycopg2-and-other-libraries-in-sage

2 | No.2 Revision |

You ~~need to ~~could switch to a shell with the same environment variable settings that Sage uses. `sage -sh`

starts such a shell for you, and then package installation ~~will ~~might work on sage's copy of R instead of the system copy. More details are described for a similar question here:

http://ask.sagemath.org/question/1252/using-psycopg2-and-other-libraries-in-sage

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.