Get Warning Message Using rbokeh in R Notebook

2019-07-14 03:43发布

Running Ubuntu 17.10, and running R Notebook on RStudio through Anaconda.

When I try to run the simple example from the rbokeh website in a R Notebook :

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

I get the following warning message:

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.

It seems as if this warning message has been documented here, but I'm still getting this warning. Does anyone have any recommendations on what to do?

1条回答
forever°为你锁心
2楼-- · 2019-07-14 04:24

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.

查看更多
登录 后发表回答