Questions tagged [system]

Questions on implementation details and how the parts of Mathematica are arranged or configured to work. Avoid this tag for issues that are confined to a specific operating system.

Filter by
Sorted by
Tagged with
118 votes
1 answer
2k views

Why are numeric division and subtraction not handled better in Mathematica?

There is something that has been troubling me for a while. At least through version 10.0 the performance of a / b and a - b is ...
Mr.Wizard's user avatar
  • 269k
80 votes
2 answers
25k views

Mathematica 10.0.x freezes in Initializing kernels

Bug caused by paclet update and fixed by paclet update. I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it has just stopped working. I don't ...
mitcheljh's user avatar
  • 1,017
30 votes
1 answer
3k views

How can I set a keyboard shortcut to run a command?

I want to use this to add a keyboard shortcut to an undo function I wrote. The basic problem is the following: I have a command, let's say x=1, and I want to run ...
jens_bo's user avatar
  • 1,794
15 votes
1 answer
567 views

Order/Dependency of Styles in a Stylesheet

How exactly is a custom stylesheet processed? Which style depends on (inherits from) which other style. Consider e.g. setting a font. I would expect that setting the font for ...
NoEscape's user avatar
  • 842
24 votes
2 answers
667 views

Why doesn't a Composition[] hold its arguments and what can be done about it?

Now that Composition (also RightComposition) has shorthand syntax I am more inclined to use it, however what I feel should be ...
Mr.Wizard's user avatar
  • 269k
12 votes
1 answer
615 views

Handling Kernel start. What is a full initialization stack and what place the Autoload has there?

According to: tutorial/WolframSystemSessions Initialization On startup, the Wolfram Language kernel does the following: Performs license management operations. Runs Wolfram Language ...
Kuba's user avatar
  • 136k
14 votes
2 answers
661 views

Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and recalled?
Mr.Wizard's user avatar
  • 269k
12 votes
2 answers
611 views

Catching MachineUnderflow in Version 11.3

Ilian's answer to question 72229, involves SetSystemOptions["CatchMachineUnderflow" -> False] Evidently, this worked in earlier versions of Mathematica, but ...
bbgodfrey's user avatar
  • 60.4k
20 votes
5 answers
3k views

Which Mathematica files may be deleted to save space

After installation Mathematica 8 for Linux takes more than 3GB in the /usr/local/Wolfram/ directory. I suspect that not all of it is relevant if I want to do some occasional computations. Are there ...
highsciguy's user avatar
  • 1,660
4 votes
2 answers
985 views

Recursion problem

I try to make designation a = {Subscript[a,1], Subscript[a,2], Subscript[a,3]} but receive mistake $RecursionLimit::reclim: Recursion depth of 1024 exceeded. ...
Igor Fomenko's user avatar
53 votes
2 answers
8k views

What is a "Paclet"?

I often see references to "paclets", for example the PacletManager` context, the PacletInfo.m file in some packages and next to ...
Szabolcs's user avatar
  • 232k
55 votes
1 answer
2k views

List of Mathematica related acronyms and their real meaning

A few years ago, Wolfram Inc. not only started to rename things around Mathematica, a lot of new technologies and frameworks were introduced as well. Now, we are left with a lot of acronyms and ...
halirutan's user avatar
  • 112k
52 votes
3 answers
844 views

What bug fixes can be implemented in init.m?

In comments on this question, Mr. Wizard suggested a community wiki to share the bug fixes/workarounds (or possibly other tricks) people load in their init.m. I ...
47 votes
3 answers
3k views

What are all the "magic" symbols in the Mathematica language?

Leonid Shifrin once wrote (excerpted): (Unevaluated) is one of a very few "magic symbols", along with Sequence and <...
Mr.Wizard's user avatar
  • 269k
34 votes
1 answer
961 views

Paclets updating awareness and tracking

Edit From the author of this question This question is obsolete Since 2016 there is a lot of new stuff concerning Paclets. They are now documented. End of the Edit It turns out that some silent ...
andre314's user avatar
  • 17.8k
30 votes
5 answers
8k views

Mathematica 11 with High DPI 4k screen

My laptop has a 17 inch 4k screen, running Windows 10 and Ubuntu 1604. Both systems are set to 2x scaling. But Mathematica 11 (released 2016-08-08) is still blurry like version 10. Is there a simple ...
Kaa1el's user avatar
  • 561
22 votes
2 answers
577 views

Second argument of BeginPackage with nested package loading

I naively thought that the second argument of BeginPackage can simply be used to ensure the loading and availability in the ...
Szabolcs's user avatar
  • 232k
9 votes
2 answers
442 views

Clean up list of partial outputs for memory

Context I run long Mathematica sessions; sometimes I have Output up to Out[3000+]. Hence I would like to be able to clear out some previous outputs which do use lots of memory. Attempt I am aware ...
chris's user avatar
  • 22.5k
7 votes
1 answer
249 views

How does the Kernel know the $Context in a localized notebook

SetOptions[EvaluationNotebook[], CellContext -> Notebook] $Context "Notebook$$70$398424`" And from different ...
Kuba's user avatar
  • 136k
33 votes
2 answers
3k views

How can I use the Klingon alphabet symbols?

Note: This functionality is presently missing. See: How to add named characters to Mathematica 10? Mathematica apparently supports the Klingon alphabet: ...
Mr.Wizard's user avatar
  • 269k
16 votes
2 answers
715 views

Detecting kernel initialization

Certain operations do not work during kernel initialization. Code from Kernel/init.m, the Autoload directory, or packages set ...
Szabolcs's user avatar
  • 232k
9 votes
1 answer
308 views

Complete list of FrontEndResources

tl;dr I'm interested in finding a complete list of the strings that can be passed to FrontEndResource (I only need the first string, in the cases where two strings ...
b3m2a1's user avatar
  • 46.6k
36 votes
2 answers
14k views

Mathematica stuck in "running" for every calculation I attempt, kernel error

Bug introduced in 11.1.1 and fixed in 11.1.1 Bug was caused by a paclet update and fixed by a paclet update. I downloaded Mathematica this morning to do an implicit polar plot. I attempt to run the ...
Ryan Unger's user avatar
26 votes
6 answers
797 views

Is mathematica adequately improving?

A bit of a loaded question, but in your opinion is Wolfram's team making good progress on improving their software? I've used Mathematica for almost 10 years now, and honestly I'm personally ...
Steven Sagona's user avatar
18 votes
1 answer
6k views

How to pause a running evaluation (and continue it later)

Is it possible to pause an already running evaluation that takes a lot of time? And then continue it later? I can suspend my computer, but that's not what I want. I would like to use my computer in ...
dan-ros's user avatar
  • 405
13 votes
8 answers
3k views

Does Mathematica 11 work on MacOS Sierra?

I'm not sure if I should upgrade, so I wanted to see if anyone has used v11 sucessfully on the newest OSX? This is the discussion about the same topic on Wolfram Community.
M.R.'s user avatar
  • 31k
13 votes
2 answers
1k views

Giving JLink Huge Memory by Default

I have noticed that Mathematica makes use of Java by way of JLink, for example, in the extensions such as DatabaseLink and (I think) RLink. It also seems like Java is a first-class citizen for writing ...
Eric Brown's user avatar
  • 4,366
12 votes
2 answers
279 views

Why is a symbol still found after changing its context?

It seems that we can change the context of symbols: In[1]:= x = 1 Out[1]= 1 In[2]:= Context[x] = "foo`"; But then x is still ...
Szabolcs's user avatar
  • 232k
11 votes
1 answer
268 views

NotebookEvaluate breaks notebook's context

Bug introduced in 10.4.1 or earlier and persists through 12.0 A support case with the identification [CASE:3813108] was created [...] I have forwarded an incident report to our developers with the ...
Kuba's user avatar
  • 136k
10 votes
1 answer
5k views

What is included in Wolfram Extras?

I recently installed a new version of Mathematica and it includes an optional companion package entitled "Wolfram Extras". Is there any official documentation (release notes?) that details what ...
dionys's user avatar
  • 4,301
9 votes
2 answers
184 views

Problem with LocalSymbol

Bug introduced in 10.2 and fixed in 11.1 I have found that LocalSymbol will sometimes create and store persistent data in a directory different from and off the ...
m_goldberg's user avatar
  • 107k
7 votes
1 answer
1k views

CUDALink is not initialized

I've upgraded to Mathematica 9.0 on Ubuntu 12.04 with the latest Nvidia driver (304.64). I load CUDA by using, as usual, Needs["CUDALink`"]. ...
HopfMap's user avatar
  • 71
4 votes
1 answer
240 views

How to checkpoint computations?

Suppose I do some big experiment, presumably in a Table[], or a ParallelTable[]. Experience shows that there is a non-zero ...
Igor Rivin's user avatar
  • 5,034
25 votes
0 answers
1k views

How would I improve this Karaoke machine code?

I was looking at a large collection of Import/Export user suggestions the other day and it dawned on me that we finally have MIDI import in Mathematica 9, which is rather interesting since MIDI ...
Arnoud Buzing's user avatar
17 votes
1 answer
530 views

Detect if code is running in the cloud

Wolfram offers several services for running code in the cloud: Mathematica Online, Programming Cloud, CloudEvaluate, etc. How can a piece of code detect if it is ...
Szabolcs's user avatar
  • 232k
16 votes
1 answer
514 views

How is the mysterious Raw function used?

I have never seen an example use for the mysterious Raw function: Raw[h, "hexstring"] constructs a raw data object with head h, and with contents ...
Mr.Wizard's user avatar
  • 269k
15 votes
1 answer
313 views

What are the main differences between RawArray and PackedArray?

What I know: PackedArray is documented (to some extent) in "Developer Utilities Package", RawArray is just mentioned in ...
The Vee's user avatar
  • 1,790
13 votes
3 answers
918 views

Handling Kernel quit

One can use $Epilog to do something when the Kernel is quit or put an end.m file next to the ...
Kuba's user avatar
  • 136k
12 votes
0 answers
351 views

How can I disable system updates only?

Suppose I'm quite happy with my current Mathematica installation and wish to keep the system in its current form just reliably working. Since there were already at least two cases[1,2] when a lot of ...
Alexey Popkov's user avatar
9 votes
1 answer
1k views

Is It Safe to Remove the Documentation Notebooks?

I am running Mathematica 10 on linux and noted that the directories containing Mathematica's documentation come to over 3GB. Am I safe to delete these directories without affecting how Mathematica ...
owen88's user avatar
  • 355
9 votes
1 answer
483 views

Raise systemwide keypress event

Is there a way to raise system-wide "keypress" events programmatically from within Mathematica? Say "Ctrl+C" or "Ctrl+V", which all other programs can recognize? This is an attempt to gain simple ...
my account_ram's user avatar
8 votes
3 answers
429 views

Hidden Notebooks?

In Mathematica, almost everything is notebook: your "Untitled-1.nb" is a notebook, Help documentation are a series of notebooks, even those windows helping you to draw things or format your notebooks ...
Wjx's user avatar
  • 9,403
8 votes
0 answers
97 views

How to trace the stylesheet directives responsible for the selected text's appearance?

By way of example, in a typical Mathematica interactive session, one sees text content as shown below: Three different text styles can be seen in this figure: input, output, and the style for the <...
kjo's user avatar
  • 11.7k
8 votes
0 answers
130 views

Current $Context of a given notebook

nb = CreateDocument[{Dynamic@$Context}, CellContext -> Notebook] It will show Notebook$$22$93500` or something similar. How ...
Kuba's user avatar
  • 136k
7 votes
1 answer
123 views

Get All Discrete Univariate Distributions with Symbolic Parameters

I am trying to get all Discrete Univariate Distributions with symbolic arguments from any place in Wolfram Language system. For example this guide: http://reference.wolfram.com/language/guide/...
Vitaliy Kaurov's user avatar
7 votes
0 answers
121 views

How useful is $SynchronousEvaluation?

Example SessionSubmit @ Print @ $SynchronousEvaluation Will print False even though ref/SessionSubmit/Details last point: ...
Kuba's user avatar
  • 136k
6 votes
0 answers
139 views

Finish(Asynchronous)Dynamic[]

I have a question deriving from a recent topic Synchronizing Dynamics with EventActions. tl;dr; How to authoritatively explain the influence of ...
Kuba's user avatar
  • 136k
6 votes
1 answer
136 views

How to work with BoxOptions (ButtonBoxOptions, PanelBoxOptions, etc.)

The main question is in the title. Here are subtopics I'd like to focus on: Is there a tutorial related to them anywhere in documentation? How can I check what are current values of e.g. ...
Kuba's user avatar
  • 136k
6 votes
2 answers
155 views

Strange behaviour of order of execution or bug?

In[1] and In[3] are identical but the output is different.
Chen Stats Yu's user avatar
3 votes
1 answer
116 views

Automatically load init.m without sharing CellContext

I'm trying to set up Mathematica such that all functions/variables defined in my init.m are automatically loaded into any new notebook I open. This works as a default, but I would also ideally like to ...
KHAAAAAAAAN's user avatar