I wanted to create a Wolfram notebook using Wolfram workbench and I must select a container in the first step but nothing is shown to select. I was wondering if anyone can explain what is a container here and how can I create a notebook in Wolfram Workbench.
Tag: Wolfram
Incorrect precedence when saving notebook as Wolfram language package
I want to save a notebook as a Wolfram language package. When I use the menu command File>Save As
and choose ".wl" then the resulting package contains precedence issues which were not there in the original notebook file. For example, a code which is correctly interpreted as (a^2).b
in the notebook becomes (a^2.)*b
in the package.
Example: A notebook which calculates (a^2).b
nb=CreateDocument[]; NotebookWrite[nb,Cell[BoxData[RowBox[{SuperscriptBox["a","2"],".","b"}]],"Code"]]
Use File>Save As
and choose Wolfram language package. Resulting package looks as follows:
(* ::Package:: *) a^2.b
This package evaluates (a^2.)*b
instead of (a^2).b
.
Is there a possibility to save a notebook as a Wolfram language package preserving correct precedence?
Difficulty to run a Wolfram Script (with FacialFeature function) on Windows Command Line
I am on Windows.
I am working on a project which consists in analysing a very high number of images. More precisely, I am using the FacialFeatures function of Mathematica to quantify the visibility of women in Hindi cinema in the last fifty years.
Here are the steps I have followed:

I prepare a Wolfram Script. I have borrowed the coding from this source: https://community.wolfram.com/groups//m/t/2288529

I save the Wolfram Script under the name script_test.wls in a folder which I call workplace_folder. This folder also includes another folder – film_folder – which contains the images I want to analyse.

I open my Windows Command Line, and I change the directory to workplace_folder

I run the following command:
>script_test.wls film_folder output_file.json

Windows asks me the program I want to use to open the file; I choose wolframscript.exe

A new Windows Command Line window opens, some text appears (too quick for me to be able to read), and then the window closes. As if the work was done.

However, nothing seems to be happening. No output_file.json has been created, and no analysis seemed to have taken place.
Is there any step I got wrong?
Create an interactive list in a Wolfram notebook that choosing its items make a change in calculations
I have 3 variables. I want to create an interactive list of items in a Wolfram notebook that if I choose each item, functions that are written by myself change the value of the variables and recalculate all the expressions. For example items are a b c and the variables are a1 a2 a3. If I choose item a, I want item a to become equal to b, etc. Then all related calculations should automatically be updated. I was wondering if anyone can help me in creating such a functionality.
DockedCell in the Wolfram Player?
Is it possible to put a docked cell in a notebook that you can view using the wolfram player on IOS? This webpage ( https://reference.wolfram.com/language/workflow/SetUpADockedCell.html ) indicates it’s possible on mobile. But are they are referring only to the wolfram cloud app on mobile?
Also, it seems like wolfram is investing a lot into the wolfram cloud app, although I’ve had nothing but issues trying to use it so far. In any case, are they planning to get rid of the wolfram player at some point. It seems like this might be the case. I hope not. The player is more robust, faster and fully interactive as it runs a native version of Mathematica which is far superior for my needs. If it’s going by the wayside, I suppose I’ll stop investing my time into it.
Graphics Ticks function evaluation on Wolfram Cloud
I have been trying to get something like ResourceFunction["GraphicsInformation"]
to work in the cloud – however, it looks like the tick and grid functions are evaluated in some strange place, and not the main kernel: Consider e.g.
Graphics[{},Frame>True,FrameTicks>((range={##};{})&)]
When displaying this plot on the desktop, the range
variable contains the plot range, as expected. In the cloud however, the variable is not set. Does anyone know exactly is going on, and, more importantly, is there a workaround that allows you to get data from the ticks function back into the main kernel?
How to continue with my Wolfram cloud basic?
I have this simple question but failed to find an answer on the internet.
So far (over a course of 6 months or so) I am using a free account called: Wolfram cloud basic. I use this to make some 3D graphs and publish them, then embed the links for public access. That’s all I need.
Now, it said that all my files are going to expire within 7 days. And suggested me to upgrade.
When I clicked the suggested upgrade options, it gave me 3 options: Wolfram one, Mathematica and Wolfram Alpha Notebook edition.
My question: Which one should I consider if I only want to keep up my files on the cloud and have basic use (like plotting 3D graphs and embedding them somewhere)? Btw. I am a teacher coming from a third world country.
Thank for any suggestion.
Step by step integration solution that shows where substitutions occur without using Wolfram Alpha
I know there is heaps of people’s code around the forum with code that shows step by step solutions for integration. But they don’t specify where certain things happen like substitution (u sub) or recognition by integration and stuff like that. Is there a code (has to work offline) that can show you what is being made (like u sub, simplify, expand, double angle…) for each step?
Wolfram Workbench Installation Issue
In attempting to reinstall Wolfram Workbench 2.0 after a unused hiatus and system reconfiguration, I downloaded both Eclipse and Workbench. Both seem to run. However, in following the Wolfram video on installing WWB Adam Berry suggests that before getting started one should Select the Help Menu and the Install Workbench Extras. Following the video I check the box for the single available feature Subclipse to add client support for SVN source control to the WWB. In pressing Finish I get the error:
“Could not connect to update site: http://subclipse.tigris.org/update_1.6.x”
Consequently, I can not perform subsequent steps as given in the Workbench Installation Video. It seems that the subclipse.tigris.org pages references are now missing and the site is decommissioning. Checking this subclipse.tigris.org website indicates it will be gone by July 2020,but you had to ask before 1 June 2020. The files referred to no longer seem to exist. For example, there is no “Team” support as suggested in the video.
How can one resolve this issue? Is it even necessary any longer to do this? If so, how can one now setup WWB to establish the setup features referred to in the video? If not necessary, perhaps the Installation Video needs to updated.
Wolfram Desktop 12 hangs on welcome screen (Windows)
I am unable to get past this launch logo in Wolfram Desktop on Windows:
I tried reinstalling and does’t seem to fix the problem.