title: Pairwise Correlation Table
body: <p>I'm new to R, so I apologize if this is a straightforward question, however I've done quite a bit of searching this evening and can't seem to figure it out. I've got a data frame with a whole slew of variables, and what I'd like to do is create a table of the correlations among a subset of these, basically the equivalent of "pwcorr" in Stata, or "correlations" in SPSS. The one key to this is that not only do I want the r, but I also want the significance associated with that value.</p>
  
  <p>Any ideas? This seems like it should be very simple, but I can't seem to figure out a good way.</p>