1
$\begingroup$

I wish to customize where packages and notebooks are saved by creating a custom directory tree which emulates Mathematica defaults. I wish to do this so that paths can be found in $ContextPath for loading packages. This will be done during development. Of course after packages (and other files) are proven to work they will be saved to Mathematica's default locations.

I recall finding a way to change in documentation for when Kernel is loading or when FrontEnd loads. But I can no longer find it.

$\endgroup$
2
$\begingroup$

there is an environment variable which you can set to do this:

MATHEMATICA_USERBASE

more details can be found in the tutorial about wolfram system sessions:

tutorial/GlobalAspectsOfWolframSystemSessions#122753064

$\endgroup$
1
  • $\begingroup$ thank you this works. $\endgroup$ Dec 23 '20 at 0:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.