繁体   English   中英

尝试绘制createTreeView并获取工具中的错误::: httpdPort> 0L

[英]Trying to plot createTreeView and get the Error in tools:::httpdPort > 0L

最近,我开始使用R Revolution,并尝试运行示例代码来可视化决策树。

我跑了代码:

data("kyphosis", package="rpart") 
kyphTree <- rxDTree(Kyphosis ~ Age + Start + Number, data = kyphosis, cp=0.01) 
library(RevoTreeView)
plot(createTreeView(kyphTree))

得到了错误:

Error in tools:::httpdPort > 0L : 
  comparison (6) is possible only for atomic and list types

我搜索了这个错误,我正在使用R 3.2.2并且已经更新了我的Rstudio。

有人可以帮帮我吗?

韩国社交协会,

您的问题与RStudio无关。 它似乎是revoTreeView的plot函数中的一个错误。 错误显示正在与tools:::httpdPortplot.revoTreeView函数的前几行)进行比较。 这是一个功能,而不是一个数字。 请通过您的Microsoft支持渠道提交。

暂无
暂无

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

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