Skip to main content
24 votes

Mathematica on Windows 98

It appears that the last version of Mathematica to have official support for Windows 98 was Mathematica 5.2. We can see this by comparing archived versions of the system requirements pages for ...
Carl Lange's user avatar
  • 13.1k
15 votes

Implementing Local HTTP Server

The following is a sample implementation of a simple HTTP server in Wolfram Language code only: https://github.com/arnoudbuzing/wolfram-server You send it a POST request where the body data of the ...
Arnoud Buzing's user avatar
13 votes

Ray tracing working in Mac, but not on Windows

It is an undocumented/highly experimental feature. It is so experimental, it has only been implemented on Mac using Metal. I do not have a timeframe for when it might be elevated to an experimental (...
ihojnicki's user avatar
  • 3,181
12 votes
Accepted

Creating Saveable->False notebooks

To whom it may concern, a workaround: ...
Kuba's user avatar
  • 137k
12 votes
Accepted

Export Mathematica code to Word, preserving all formatting

The user Szabolcs gave the answer. Here are the steps: Open your Mathematica Notebook Ctrl+A, if you want to selct all your cells or simply select your desired cells Go to: Edit -> Copy as -> ...
henry's user avatar
  • 2,510
12 votes

Wrong function of NotebookDirectory[] in the 12.1 version

This is a certainly a bug. The fix for it is going to be available in the next release (version 12.1.1). In the meantime, perhaps the following workaround code may help ...
ilian's user avatar
  • 25.5k
11 votes
Accepted

Obtain short path on Windows

Windows Command Line Here is a way using the Windows command line: getShortPathName[path_] := Import["!for %p in (\""~~path~~"\") do @echo %~sp", "Text"] So ...
WReach's user avatar
  • 69.1k
10 votes

Implementing Local HTTP Server

Starting in Mathematica 12, there is a built-in function SocketListen that can start a web server and respond to HTTP requests. ...
Flux's user avatar
  • 366
8 votes
Accepted

How to use woframscript (Mathematica 11) on Win 10 console command line?

After looking at my personal use license installation of Mathematica 11, I was able to get wolframscript to run by modifying the the configuration file at ...
david's user avatar
  • 1,290
8 votes
Accepted

Error during getting CCompilerDriver

Please use the fix from @ilian's answer instead!! The underlying problem I think the underlying problem is with the RawJSON importer. JSON is required to be UTF8. But a character encoding like ...
Szabolcs's user avatar
  • 236k
7 votes

All Graphics3D commands crash

I had the same issue and it drove me crazy for a long time. Do you have any joysticks plugged in? Specifically, if you have a Logitech 'Extreme 3D Pro' joystick plugged in, it will cause Mathematica ...
Dugan Hammock's user avatar
7 votes

Web Browser Screen Shot

There is now a built-in way to do this: WebImage["http://stackoverflow.com"] ...
user5601's user avatar
  • 3,695
7 votes

Switch actions of Shift+Enter and Enter in notebook interface?

This piece of code should do the trick. It takes effect immediately. ...
btwiuse's user avatar
  • 567
7 votes
Accepted

RunProcess doesn't list files on Windows

It will work if you send a newline at the end of dir: RunProcess[$SystemShell, All, "dir\n"] (* note the \n *) What I do not ...
Szabolcs's user avatar
  • 236k
7 votes
Accepted

How to deal with compound command lines with RunProcess?

RunProcess does not run shell commands (things you might type into your terminal). It runs processes, as the name suggests. If you want to run shell commands, then ...
Szabolcs's user avatar
  • 236k
7 votes
Accepted

Using Open with a filename that contains ":"

This is not possible. A colon is not a valid character in a file name on Windows. Reference: https://docs.microsoft.com/en-us/windows/win32/msi/filename
Szabolcs's user avatar
  • 236k
7 votes
Accepted

ExternalEvaluate[pySys, pyCmd] evaluates to Failure[...]

Reading this, turns out the patch is a one-line fix to enable Python 3.8 support. I haven't tested it extensively, but I've included it in my GitHub gist that also lets you use Python runtimes ...
Michael Himbeault's user avatar
7 votes

Has anyone encountered Mathematica errors in the new Windows 11?

I took the plunge myself. I upgraded to Windows 11 Pro and ran my Mathematica code. There were no errors. Everything seems to be working just as in Windows 10 Pro. Since my code base is quite large, ...
Shredderroy's user avatar
  • 5,271
6 votes
Accepted

Switch actions of Shift+Enter and Enter in notebook interface?

First move KeyEventTranslations.tr file to your $UserBaseDirectory in order to not damage installation files. (Rebinding keys to ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Mathematica 10.4 freezing after typing in new notebook

I had help from Wolfram on this. For Windows you have to find C:\Users\"name"\AppData\Roaming\Mathematica\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency Where "name" is your name. I had ...
Hugh's user avatar
  • 16.5k
6 votes
Accepted

Letter g rendered with different descender styles

It took me a while to figure out what was happening. Mathematica 11 uses different fonts on Windows, OS X and Linux. They are Consolas, Source Code Pro and Bitstream Vera Sans Mono, respectively. ...
Szabolcs's user avatar
  • 236k
6 votes

Export Mathematica code to Word, preserving all formatting

You can copy-as-MathML from Mathematica directly into Word. Have fun! Edit To address your comment. This is a fragment of my Mathematica notebook: These are the corresponding formulas inserted into ...
Alexei Boulbitch's user avatar
6 votes
Accepted

Histogram not plotting RandomVariate of EmpiricalDistribution

It seems to be related to the way the binning is determined by Histogram if no explicit bspec is given. Once bspecs are given it seems to work without any problem: ...
gwr's user avatar
  • 13.5k
6 votes
Accepted

On comparable hardware, is Mathematica known to perform better in one operating system over the others?

Mathematica comes with a <<Benchmarking` package that let's you perform a benchmark of your computer. In the resulting report, you find how you compare to ...
halirutan's user avatar
  • 113k
6 votes

Graphics resolution issue

It's difficult to tell from your screenshots (which might have been scaled onto the website)...are you saying that there's no antialiasing, or different antialiasing? It is certainly true that the ...
John Fultz's user avatar
  • 12.6k
6 votes

Error during getting CCompilerDriver

This has been fixed by a paclet update. Windows 11.3 installations will be automatically updated over the next few days. To get the new paclet immediately, try ...
ilian's user avatar
  • 25.5k
6 votes

ffmpeg installation Mathematica 13.0

According to this post, I found the reason. In C:\Program Files\Wolfram Research\Mathematica\13.0\SystemFiles\Links\FFmpegTools\Kernel\Common.m, line 79 and 80: <...
李子涵's user avatar
  • 368
5 votes
Accepted

Installing MATLink without administrator privileges

First, I want to make it very clear that running MATLink does not require administrator privileges. Enabling a certain MATLAB feature that it relies on does require admin rights (on Windows only), ...
Szabolcs's user avatar
  • 236k
5 votes

Linux’s Bash shell in Windows 10 and mathematica

As we also know from a number of sources, bash-over-windows-10 is in beta, not yet feature complete, and it is not really meant to interface with Windows apps at the moment. If you can get a command ...
Emilio Pisanty's user avatar
5 votes
Accepted

EMF figure has white spaces when screen resolution is 150%

Update: The problem is solved! Apart from the three alternative resolutions 100%, 125% and 150% suggested on the right pane, there is the "Set custom text size (DPI)" item on the left pane: When ...
Alexey Popkov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible