在R Notebook中使用rbokeh获取警告消息

时间:2017-12-05 17:31:08

标签: r rnotebook rbokeh

运行Ubuntu 17.10,并通过Anaconda在RStudio上运行R Notebook。

当我尝试从R Notebook中的rbokeh website运行简单示例时:

p <- figure() %>%
  ly_points(Sepal.Length, Sepal.Width, data = iris,
            color = Species, glyph = Species,
            hover = list(Sepal.Length, Sepal.Width))

我收到以下警告信息:

In structure(x, class = unique(c("AsIs", oldClass(x)))) :    
Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes.
  Consider 'structure(list(), *)' instead.

好像这条警告信息已被记录here,但我仍然收到此警告。有没有人有什么建议?

1 个答案:

答案 0 :(得分:0)

https://github.com/bokeh/rbokeh/issues/216

如果您点击此链接并使用“devtools”从hafen / rbokeh安装,则不会再收到警告消息。