Tag Info

New answers tagged


I got the answer from Mathematica Forum on Wolfram website. "If you wish to change the value of $TemporaryDirectory for a particular Mathematica session then you can simply execute $TemporaryDirectory="path to a new directory" since $TemporaryDirectory is not Protected" Thanks to David Reiss


Just set $TemporaryDirectory to a desired directory. You can use system commands such as FileNameJoin or FileNameSetter to create a directory name appropriate to your system. I have a unix-based Mac, so I ran an example using $TemporaryDirectory = "/tmp/math" Here is the example from the docs for OpenWrite, executed under this new setting. Create ...

Top 50 recent answers are included