在R Notebook中使用rbokeh获取警告消息 [英] Get Warning Message Using rbokeh in R Notebook

查看:157
本文介绍了在R Notebook中使用rbokeh获取警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

当我尝试从R笔记本中的 rbokeh网站运行简单示例时:

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))

我收到以下警告消息:

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

如果您点击此链接并使用"devtools"从hafen/rbokeh安装,您将不再收到警告消息.

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

这篇关于在R Notebook中使用rbokeh获取警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆