This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in strwidth("W", cex = tl.cex) : plot.new has not been called yet

Hi I'm using corrplot package in R (for mac) and I have a error message "Error in strwidth("W", cex = tl.cex) : plot.new has not been called yet" Could anyone help me?

r

I am apologize for non-bioinformatic question. I am trying to use these commands for visualize pearson correlation plot with circle + black number corrplot(x.cor, order = "original", type = "upper", tl.pos = "tp") corrplot(x.cor, add = TRUE, type = "lower", method = "number", order = "original", col = "black", diag = FALSE, tl.pos = "n", cl.pos = "n") f irst command is well performed but I have problem for second command with below error and white window (quartz 2) without plot: Error in strwidth("W", cex = tl.cex) : plot.new has not been called yet Thank you very very much in advance for your answers.

1 answer

We have guidelines for posting enough info so people can effectively help you, I suggest editing the post with more info. Also, be mindful that the purpose of this forum is to help with bioinfo questions and not programming. But it looks like you're trying to use a variable that was not defined previously.

Log in to answer this question.