title: R, how to read data from file and plot a histogram from them?
body: <p>I'm new at R, and I have to write commands to read a file containing real values and then compute and plot a histogram of distributions, using 100 subintervals.
  I've been havin' some problems in using hist() function...</p>
  
  <p>This is what I do for readin' data:</p>
  
  <p><code>values = read.table("filepath.txt");</code></p>
  
  <p>filepath.txt contains real values (2509.92, 615.41, 417.031, ... , 0.0516073, 0.023377, 0.00681471).</p>
  
  <p>Then I've tried to follow these instructions ( <a href="http://msenux.redwoods.edu/math/R/hist.php" rel="nofollow">http://msenux.redwoods.edu/math/R/hist.php</a> ), but it did not work, because using method <code>as.numeric()</code>, the system thinks it's managin' integer data and all the values are set to 1.0</p>
  
  <p>How could I do?</p>
  
  <p>Thanks a lot!</p>