I am working the exercises in the Elementary Introduction book, and cannot get the examples of the WordCloud function to work. I get the message"The weight specification used is invalid. At least one weight must be a positive real number. I have tried examples from other sources with the same result. Any ideas?
The WordCloud examples from the book seem to work for me, can you paste the code that generates an error for you?
This basic example:
Yields:WordCloud: The weight specification used is invalid. At least one weight must be a positive real number.
I have tried several other examples and get the same result.
Thanks for the help.
Now you want to narrow down the problem. Do you get a String back from the inner command?
Can you make a word cloud from a random string?
WordCloud["this is a string, the string has words"]
I do get the string back. I have tried several strings, including the one you provided with the same result.
Hi any resolutions to this? I recently installed 11.3 on Windows and get the exact same error message. I just cannot get word cloud to work.
The function works for me on windows 10 with a fresh installed V11.3
Thanks I will try upgrading to Windows 10 and re-install.