Hi Rasmus, Please see the following commands. The box fails.
> library("FactoMineR") > mydata <- read.csv('test.csv', header=T,row.names=1) > res.pca = PCA(mydata, quali.sup=5, graph=F) > plot(res.pca, choix="ind") > box(col='black') Error in box(col = "black") : plot.new has not been called yet Regards, Mahmood ________________________________ From: Rasmus Liland <j...@posteo.no> Sent: Tuesday, March 9, 2021 8:16:24 PM To: Mahmood Naderan-Tahan Cc: r-help@r-project.org Subject: Re: [R] Changing chart border's color Hi, it would be useful to know how you created res.pca. https://rdrr.io/r/graphics/box.html Rasmus [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.