Heys, I'm trying to save as a html file an output from ggplotly in R and I'm getting all the time this error:
Error in FUN(X[[i]], ...) :subscript out of bounds
The code of my plot is quite simple:
b <- ggplot(pca, aes(PC1, PC2, label=ind, col=col,labels=ID))+ geom_point(size = 2)
And the problem appears when I try to save it as an html file:
Any idea of how can I fix that? Thanks in advance!