title: Correlation between two xts R Quantmod BCBA stocks
body: <p>At first, excuse me for my english level. </p>
  
  <p>I'm trying to make a correlation beetween 2 xts objects. 
  The objects are 2 argentinian stocks - BCBA:FRAN and BCBA:GGAL (tickers according to google finance). </p>
  
  <p>I tried with quantmod</p>
  
  <pre><code>getSymbols("BCBA:FRAN", src="google") 
  getSymbols("BCBA:GGAL", src="google") 
  
  correlacion &lt;- cbind(diff(log(Cl("BCBA:GGAL"))),diff(log(Cl("BCBA:FRAN")))) 
  </code></pre>
  
  <p>But that code results in: </p>
  
  <blockquote>
    <p>Error in Cl("BCBA:GGAL") : 
      subscript out of bounds: no column name containing "Close"  </p>
  </blockquote>
  
  <p>I think that i should rename the columnnames , but i don't know how could i make a correlation between 2 xts files</p>
  
  <p>I hope you could help me. </p>