Prevent MMA from saving results in Out[] [duplicate]
This question already has an answer here:
What are the most common pitfalls awaiting new users?
37 answers
MMA automatically saves every result which then can be called via Out where the argument needs to be given as %n and %n corresponds to the output one wants to refer to. Now this automatic saving works even if you end your lines with a ; or //Quiet. However, if one wants to re-evaluate a cell many times with a memory hungry output, one runs into memory issues. How can one change this automatic behaviour of MMA and save results only in variables which one defines but NOT the output of a cell automatically in Out.
memory
marked as duplicate by Bob Hanlon, Michael E2, bbgodfrey, Kuba♦ Dec 10 at 7:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
What are the most common pitfalls awaiting new users?
37 answers
MMA automatically saves every result which then can be called via Out where the argument needs to be given as %n and %n corresponds to the output one wants to refer to. Now this automatic saving works even if you end your lines with a ; or //Quiet. However, if one wants to re-evaluate a cell many times with a memory hungry output, one runs into memory issues. How can one change this automatic behaviour of MMA and save results only in variables which one defines but NOT the output of a cell automatically in Out.
memory
marked as duplicate by Bob Hanlon, Michael E2, bbgodfrey, Kuba♦ Dec 10 at 7:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
3
try$HistoryLength = 0?
– kglr
Dec 7 at 15:18
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29
add a comment |
This question already has an answer here:
What are the most common pitfalls awaiting new users?
37 answers
MMA automatically saves every result which then can be called via Out where the argument needs to be given as %n and %n corresponds to the output one wants to refer to. Now this automatic saving works even if you end your lines with a ; or //Quiet. However, if one wants to re-evaluate a cell many times with a memory hungry output, one runs into memory issues. How can one change this automatic behaviour of MMA and save results only in variables which one defines but NOT the output of a cell automatically in Out.
memory
This question already has an answer here:
What are the most common pitfalls awaiting new users?
37 answers
MMA automatically saves every result which then can be called via Out where the argument needs to be given as %n and %n corresponds to the output one wants to refer to. Now this automatic saving works even if you end your lines with a ; or //Quiet. However, if one wants to re-evaluate a cell many times with a memory hungry output, one runs into memory issues. How can one change this automatic behaviour of MMA and save results only in variables which one defines but NOT the output of a cell automatically in Out.
This question already has an answer here:
What are the most common pitfalls awaiting new users?
37 answers
memory
memory
asked Dec 7 at 15:05
Display Name
55738
55738
marked as duplicate by Bob Hanlon, Michael E2, bbgodfrey, Kuba♦ Dec 10 at 7:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Bob Hanlon, Michael E2, bbgodfrey, Kuba♦ Dec 10 at 7:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
3
try$HistoryLength = 0?
– kglr
Dec 7 at 15:18
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29
add a comment |
3
try$HistoryLength = 0?
– kglr
Dec 7 at 15:18
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29
3
3
try
$HistoryLength = 0?– kglr
Dec 7 at 15:18
try
$HistoryLength = 0?– kglr
Dec 7 at 15:18
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29
add a comment |
1 Answer
1
active
oldest
votes
Set $HistoryLength to 0 (docs) :
$HistoryLength = 0
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Set $HistoryLength to 0 (docs) :
$HistoryLength = 0
add a comment |
Set $HistoryLength to 0 (docs) :
$HistoryLength = 0
add a comment |
Set $HistoryLength to 0 (docs) :
$HistoryLength = 0
Set $HistoryLength to 0 (docs) :
$HistoryLength = 0
edited Dec 7 at 15:49
answered Dec 7 at 15:20
kglr
176k9198404
176k9198404
add a comment |
add a comment |
3
try
$HistoryLength = 0?– kglr
Dec 7 at 15:18
See common pitfalls / $HistoryLength
– Michael E2
Dec 8 at 16:29