Questions tagged [initialization]

Questions about the usages of the various initialization files used by Mathematica. The most common ones are the init.m files that can be found in some Mathematica system folders and in a few specific user folders.

90 questions
22
votes
2 answers

What is the right place for user-defined init.m?

What is the right folder to put a file init.m which will be run after all other init.m files applied by the various components of Mathematica have done their job? I would like to use it to do something like AppendTo[$Path, *my favourite place*]; …
Adalbert Hanßen
  • 2,808
  • 12
  • 26
6
votes
1 answer

Mathematica 10.0.1 freezes at Initializing kernels

I tried to evaluate PacletUpdate["CloudObject"] in WolframKernel.exe, but got the error: PacletInstall::dwnld: An error occurred downloading paclet CloudObject-10.3.760 from site http://pacletserver.wolfram.com: File not found on server. I…
Jianbo Luo
  • 61
  • 2
5
votes
2 answers

Strange Error with Initialization within Animate

Animate[x, {x, 0, h}, Initialization :> (h = 1)] The code above gives the error: Animate::vsform: Animate argument {x,0,h} does not have the correct form for a variable specification. >> It's strange to me in that if Animate is replaced by…
User18
  • 882
  • 4
  • 12
4
votes
1 answer

First initialization taking way too long

Pretty much everyday when I first bring up Mathematica, it takes a very long time. Subsequently, if I close it down and reopen, it is very quick. This is on my home computer (version 13.2), but the same strange behavior, sometimes minutes long, also…
Aharon Naiman
  • 1,173
  • 6
  • 13
3
votes
0 answers

How to search for initialization cells?

Possible Duplicate: How to select all initialization cells? Is there an easy way to search for initialization cells or have all of them removed at once?
sebastian c.
  • 1,973
  • 2
  • 18
  • 27
2
votes
0 answers

How can I bypass the limitations of init.m?

In a series of QA it has been pointed out that init.m suffers of heavy limitations (see as example, Automatically load packages at startup or Why can't I import a file in the init.m file?: "As you correctly suggested init.m is read early in the…
mitochondrial
  • 1,843
  • 10
  • 16
1
vote
0 answers

Determine init.m location from within said init.m file?

I have following question: can I easily determine location of init.m from within said init.m? We need to use premade Mathematica script/program/addon (don't know proper term) which unfortunately expects to find all it's files in…
M i ech
  • 223
  • 1
  • 7
1
vote
0 answers

How does -preinit work in 11.2?

On Initialization & Provisioning at http://reference.wolfram.com/language/guide/InitializationAndProvisioning.html the WolframScript Command-Line Options mention -preinit and -postinit. I am trying to set a variable using -preinit in a shortcut,…
Chris Degnen
  • 30,927
  • 2
  • 54
  • 108
0
votes
0 answers

SetOptions error message upon launching Mathematica v.12

When launching Mathematica v.12, before opining any notebook, I get the following message: It does not afffect the execution of my notebooks, but it is annoying and I would like to understand how to get rid of it. I have read similar and previous…