4

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

当我尝试在 R Notebook中运行rbokeh 网站上的简单示例时:

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.

似乎此警告消息已在此处记录,但我仍然收到此警告。有人对该怎么做有任何建议吗?

4

1 回答 1

2

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

If you follow this link and use "devtools" to install from hafen/rbokeh, you no longer receive the warning message.

于 2017-12-05T19:48:44.230 回答