Ask Your Question

change home directory

asked 2013-03-10 14:22:30 +0200

Villamil gravatar image

Dear Community, I just started using Sage. I was able to install it on my computer, and use it through the Notebook mode on my web browser. I like that Sage keeps a copy of my worksheets, so that I can open them every time I start a Sage session.

The situation is that I have two computers from which I work on Sage. So in order to get the latest copy of my worksheets, I found that I can Upload and Save the worksheets to a different folder, one that I can access from the two computers.

This has worked okay for me, but it presents two inconveniences. One is that I sometimes find two copies of the same worksheet on my Sage session, the version that I just opened from the folder, and the version that I saved from my last session in that computer. The second inconvenience, is that I have to navigate to the common folder each time that I start and finish my session.

I would think that this could get solved if I could change the home directory to be set in my common folder, instead of where the Sage installation is. However I haven't found a way to do this, and would appreciate the help from the community.

Thank you Diego

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-03-10 16:39:48 +0200

updated 2013-03-10 16:40:52 +0200

Use the environment variables DOT_SAGE and/or DOT_SAGENB. See this question or this one, for example.

edit flag offensive delete link more

answered 2013-03-19 10:03:01 +0200

Villamil gravatar image

This is great.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-03-10 14:22:30 +0200

Seen: 3,346 times

Last updated: Mar 19 '13