I am trying to find a way make 3D PCA visualization from R more portable;
I have run a PCA on 2D matrix using `prcomp()`.

1. How do I export the 3D coordinates of data points, along with labels and colors (RGB) associated with each?
2. Whats the practical difference with `princomp()` and `prcomp()`?
3. Any ideas on how to best view the 3D PCA plot using HTML5 and canvas?

Thanks!