I'm using the latest version of RStudio for Mac and when I use identify() function with a pca model (using princomp) I can click the point, a blue arrow appears but then the red stop appears and the function never seems to finish so I have to force quit.
I have also replicated code in RStudio Cloud and that plot is not clickable.
This is the R code:
pca.data <- princomp(data)
plot(pca.data$scores, pch = 20)
outlier <- identify(pca.data$scores)
Thanks in advance for any help.