Closed glanzkaiser closed 2 years ago
Solved it, turns out needs permission of super user to create file in package.
You don't need to put anything into package's examples directory. You should put your txt and png on your current work directory, then replace the pkgdir(WordCloud)*"/res/alice.txt"
with "./freya.txt"
and replace the pkgdir(WordCloud)*"/res/alice_mask.png"
with "./Freya.png"
. It should work.
And the last line runexample(:freya)
should be removed.
I see, we can look for file in current directory, thanks.
exactly.
Hi @guo-yong-zhi ,
I am trying to create my own png and words, but it still calling the texts from alice.txt
I have created the .jl in examples directory as well. Is my code is right?