简体   繁体   English

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

[英]Get Warning Message Using rbokeh in R Notebook

Running Ubuntu 17.10, and running R Notebook on RStudio through Anaconda. 运行Ubuntu 17.10,并通过Anaconda在RStudio上运行R Notebook。

When I try to run the simple example from the rbokeh website in a 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))

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? 有没有人有什么建议?

https://github.com/bokeh/rbokeh/issues/216 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. 如果您按照此链接并使用“devtools”从hafen / rbokeh安装,则不再收到警告消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM