[英]Trying to plot createTreeView and get the Error in tools:::httpdPort > 0L
Recently, I started using R Revolution, and I tried to run a example code to visualize a decision tree. 最近,我开始使用R Revolution,并尝试运行示例代码来可视化决策树。
I ran the code: 我跑了代码:
data("kyphosis", package="rpart")
kyphTree <- rxDTree(Kyphosis ~ Age + Start + Number, data = kyphosis, cp=0.01)
library(RevoTreeView)
plot(createTreeView(kyphTree))
And got the error: 得到了错误:
Error in tools:::httpdPort > 0L :
comparison (6) is possible only for atomic and list types
I searched about this error, I'm using the R 3.2.2 and already updated my Rstudio. 我搜索了这个错误,我正在使用R 3.2.2并且已经更新了我的Rstudio。
Someone could help me? 有人可以帮帮我吗?
Tks, 韩国社交协会,
Your problem is not related to RStudio. 您的问题与RStudio无关。 It appears to be a bug in the plot function for revoTreeView
. 它似乎是revoTreeView
的plot函数中的一个错误。 The error shows that a comparison is being made with tools:::httpdPort
(first few lines of the plot.revoTreeView
function). 错误显示正在与tools:::httpdPort
( plot.revoTreeView
函数的前几行)进行比较。 This is a function, not a number. 这是一个功能,而不是一个数字。 Please submit through your Microsoft support channels. 请通过您的Microsoft支持渠道提交。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.