Basic PCA with R4.1.0 crashes

Hi mixomics team,
I’m using version mixomics version 6.16.0 with R version 4.1.0 (2021-05-18) and a basic PCA on the demo crashes. I tested on different computer with the same setup and with your last github version 6.17.15.

suppressMessages(library(mixOmics))
data(srbct)
X <- srbct$gene
res.pca.srbct <- pca(X)
plotIndiv(res.pca.srbct)

I havn’t take a look at plotIndiv code to figure out what’s going on, but sounds like this coming with the new R version.

It looks like it’s more a ggplot2 problem, coming with R4.1.0 : ggplot2 crashes RStudio after upgrading to R 4.1.0 · Issue #9373 · rstudio/rstudio · GitHub

Reinstalling rstudio : RStudio Preview - RStudio
fixed the problem,
sorry for the wrong alert !
Jerome

1 Like