Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6358

Questions on Mathematica packages, which are self-contained bundles of Mathematica code that add new functions and other functionality.

7 votes
1 answer
256 views

How to (optionally) suppress package welcome message?

I'm working on a package and I want it to (usually) print a welcome message when it's loaded, primarily to leave a written trace of the version number in the notebook where it's used. For example: B …
Chris K's user avatar
  • 20.4k
4 votes

<<Wavelets`Wavelets Not Found

The old Wavelet Explorer has been discontinued. The newer built-in Wavelet Analysis functionality replaces it, with a conversion tutorial here.
5 votes
Accepted

Where can I find the package RGTC?

Is this what you're looking for? If so, someone should mirror it for posterity.
Chris K's user avatar
  • 20.4k
2 votes
1 answer
97 views

Wolfram Language Paclet Repository minimum version

I'm thinking of moving my EcoEvo package to the Wolfram Language Paclet Repository. This page says that Mathematica v13.0 is required for development, but I'm interested in the minimum version for use …
Chris K's user avatar
  • 20.4k
2 votes
Accepted

Wolfram Language Paclet Repository minimum version

Answer from Bob Sandheinrich over at Wolfram Community: 12.1 is the minimum version.
Chris K's user avatar
  • 20.4k
7 votes
Accepted

Where should global variables be defined in a package?

You could explicitly use Global`b in the definition of MyLagrange: ClearAll["MyP`*"]; BeginPackage["MyP`"]; MyLagrange; Begin["`Private`"]; MyLagrange[f_, var_] := Module[{a}, a = D[f, var] + Globa …
Chris K's user avatar
  • 20.4k
8 votes
1 answer
271 views

Are new-style packages compatible with the Wolfram Paclet Repository?

The package I'm developing is getting hard to navigate as it gets larger. I've started experimenting with using the new-style package format described in this question to break it up to subfiles. Bu …
Chris K's user avatar
  • 20.4k
13 votes
1 answer
342 views

Putting package documentation on Wolfram Cloud

So, I've finally released v1.0 of my EcoEvo package. Yay. Maybe I'll give an overview here soon. I'd also like to advertise to my colleagues, perhaps non-Mathematica users, who might use it. The d …
Chris K's user avatar
  • 20.4k
5 votes

How do I format the `expr` in the `::usage` message of functions in a mathematica .wl packag...

My solution is to write my package in an .nb file, putting everything in Code-style cells. Here it is easy to format text using command-0 to style italicized text as style TI: Set up the notebook w …
Chris K's user avatar
  • 20.4k
2 votes
Accepted

How can I pass replacement rules to a package-defined function and have it understand their ...

Try replace[rules_] := ReplaceAll[Global`var, rules] in your function. Then replace[var -> 0] replace[Test`Private`var -> 0] yields 0 var as I think you'd like.
Chris K's user avatar
  • 20.4k
11 votes
2 answers
371 views

How to provide latest paclet version

I've made a package available on github, which can be installed with PacletInstall["https://github.com/cklausme/EcoEvo/releases/download/v1.1.0/EcoEvo-1.1.0.paclet"] Is there a way to have a stable …
Chris K's user avatar
  • 20.4k
7 votes
Accepted

How can I use the legacy version in TreePlot in Mathematica 12.0 and later?

Just call it like: GraphComputation`TreePlotLegacy[KaryTree[9, 2]]
Chris K's user avatar
  • 20.4k
4 votes
1 answer
85 views

Problem linking to tutorial in Workbench / DocumentationTools

I've picked up Workbench / DocumentationTools again to add some new tutorials. Everything was going fine until I tried to use the "Link to Tutorial" button in DocTools. Didn't work, and I got some e …
Chris K's user avatar
  • 20.4k
2 votes
Accepted

Problem linking to tutorial in Workbench / DocumentationTools

Figured it out. I needed to hit the Select Paclet Name & Path button and then select the top folder containing my paclet.
Chris K's user avatar
  • 20.4k
1 vote
0 answers
21 views

Open Details section in docs made with Workbench

I'm making some package docs with Workbench (10.1.822). The "Details" section is closed by default, which is a shame because I've got some useful info there that would be easy to overlook: Is there …
Chris K's user avatar
  • 20.4k