Linked Questions
13 questions linked to/from Preventing avalanche of runtime errors in Mathematica
159 votes
26 answers
35k views
What is in your Mathematica tool bag? [closed]
We all know that Mathematica is great, but it also often lacks critical functionality. What kind of external packages / tools / resources do you use with Mathematica? I'll edit (and invite anyone ...
31 votes
2 answers
5k views
Plot using With versus Plot using Block (Mathematica)
I want to describe an issue I have been having with Plot using With to keep defined parameters 'local'. I am not necessarily asking for a fix: the problem I have is one of understanding. Sometimes I ...
22 votes
3 answers
4k views
What does "upvalue" mean in Mathematica and when to use them?
To me, g /: f[g[x_]] := h[x] is just verbose equivalent of f[g[x_]] := h[x]. Can you raise an example that you have to use /:?
24 votes
6 answers
3k views
Performance difference between functions and pattern matching in Mathematica
So Mathematica is different from other dialects of lisp because it blurs the lines between functions and macros. In Mathematica if a user wanted to write a mathematical function they would likely use ...
20 votes
5 answers
4k views
Efficiently Working with (and generating) Large Text Files
As part of my work, I am working with very large text files and, in part, analyzing them for word and phrase frequency. I am running into difficulties of computing time, memory restrictions, and in ...
14 votes
5 answers
5k views
Is Mathematica an untyped language?
Unlike most programming languages, every value in Mathematica is an expression. Applying any operation to any expressions always yields another expression. Consequently, Mathematica effectively has ...
21 votes
1 answer
9k views
Import big files/arrays with mathematica
I work with mathematica 8.0.1.0 on a Windows7 32bit platform. I try to import data with Import[file,”Table”] which works fine as long as the file (the array in the file) is small enough. But for ...
12 votes
6 answers
5k views
Self-restarting MathKernel - is it possible in Mathematica?
This question comes from the recent question "Correct way to cap Mathematica memory use?" I wonder, is it possible to programmatically restart MathKernel keeping the current FrontEnd process ...
18 votes
5 answers
2k views
Setting up diagnostic error messages in large Mathematica projects
Whenever I create a large Mathematica project I run into this problem: Preventing avalanche of runtime errors in Mathematica, i.e., Mathematica's error message are opaque, archaic, and legion. The ...
3 votes
4 answers
8k views
Selecting data from a table in mathematica
I'm trying to write a function that will take select the first element in the table that satisfies a criteria. For example, if I am given the following table with times in the first column and number ...
6 votes
2 answers
528 views
How do you set a global Abort handler?
In answering this question, I suggested that the OP open a stream at the beginning of his notebook and close it at the end. However, if an Abort is generated, the stream will be left open, and will ...
6 votes
3 answers
2k views
Mathematica Notation and syntax mods
I am experimenting with syntax mods in Mathematica, using the Notation package. I am not interested in mathematical notation for a specific field, but general purpose syntax modifications and ...
0 votes
4 answers
2k views
File Input output in Mathematica
I am writing test-cases for a problem,I want to check my test-cases with Mathematica but I am facing some problems with file input/output. I have to take Input from a file say "Test.in",the date ...