title: Extract 3D coordinates from R PCA
body: <p>I am trying to find a way make 3D PCA visualization from R more portable;
  I have run a PCA on 2D matrix using <code>prcomp()</code>.</p>
  
  <ol>
  <li>How do I export the 3D coordinates of data points, along with labels and colors (RGB) associated with each?</li>
  <li>Whats the practical difference with <code>princomp()</code> and <code>prcomp()</code>?</li>
  <li>Any ideas on how to best view the 3D PCA plot using HTML5 and canvas?</li>
  </ol>
  
  <p>Thanks!</p>