R语言报错:Error in as.double(y) : cannot coerce type 'S4' to vector of type 'double'

小黑哈哈 / 2024-10-21 / 原文

在RStudio中使用plot函数报错

:查询解决方案是缺少Rgraphviz包,执行以下代码:

source("http://bioconductor.org/biocLite.R")

biocLite(c("graph", "Rgraphviz"))

 又提示

 于是添加

 plot使用成功