尝试使用 wordcloud2 函数时 RStudio 绘图中的异常错误

问题描述

我正在尝试在 R 中使用 wordcloud2 构建 wordcloud。我有一个我认为构造正确的数据框:

> str(head)
'data.frame':   40 obs. of  2 variables:
 $ word: chr  "transportation" "screenings" "challenge" "screening" ...
 $ freq: num  14 11 10 10 10 9 7 7 7 7 ...

然后我运行一个基本的 wordcloud2 调用

wordcloud2(head,color = "random-light",backgroundColor = "grey")

但是,这会在我在 RStudio 上的绘图中产生以下错误

'/session/viewhtml1e9c76a7248a/index.html?viewer_pane=1&capabilities=1&host=http%3A%2F%2F127.0.0.1%3A11403 not found'

我的控制台没有产生错误,所以我不太确定发生了什么。谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)