title: R: Converting a data frame into a matrix
body: <p>I have a matrix written to a <a href="http://1drv.ms/1N776wH" rel="nofollow noreferrer">csv file</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/tLjHX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tLjHX.jpg" alt="enter image description here"></a></p>
  
  <p>I'm trying to read the file and get the data as a matrix. I have used as.matrix and data.matrix functions. However I'm unable to load the data as a matrix. 
  My goal is to use this distance matrix for hierarchical clustering.<br>
  <a href="https://i.stack.imgur.com/uqVET.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uqVET.jpg" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/cEiFw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cEiFw.jpg" alt="enter image description here"></a></p>