R:tableplot中的错误:if(by<;1)stop中的错误(";&x27;by&x27;必须是>;0";)

R:tableplot中的错误:if(by<;1)stop中的错误(";&x27;by&x27;必须是>;0";),r,plot,R,Plot,我是R的初学者,无法理解简单代码中的问题: install.packages("tabplot") library("tabplot") library("MASS") Boston$chas <- factor(Boston$chas) Boston$rad <- ordered(Boston$rad) tableplot(Boston) install.packages(“tabplot”) 库(“tabplot”) 图书馆(“弥撒”) Boston$chas我得到了完全相同的

我是R的初学者,无法理解简单代码中的问题:

install.packages("tabplot")
library("tabplot")
library("MASS")
Boston$chas <- factor(Boston$chas)
Boston$rad <- ordered(Boston$rad)
tableplot(Boston)
install.packages(“tabplot”)
库(“tabplot”)
图书馆(“弥撒”)

Boston$chas我得到了完全相同的错误,即使在运行文档中的标准
diamonds
示例时也是如此。据了解,这可能是内存问题,因此您可以在那里尝试该命令。但这对我没有帮助,这感觉像是一个bug。我在我的机器上执行了你的代码,一切正常(没有错误,没有警告),产生了一个很好的情节。嗯,这很奇怪。。也许我的电脑有问题。。。但是非常感谢你的帮助
Error in if (by < 1) stop("'by' must be > 0") : 
missing value where TRUE/FALSE needed
`In addition: Warning message:
In chunk.default(from = 1L, to = 506L, by = c(double = 23058430092136940),  :NAs introduced by coercion to integer range