title: Creating R dataset
body: <p>I want to create dataset in R so that I load into R session as follows:</p>
  
  <pre><code>data(mydatasetname)
  </code></pre>
  
  <p>I tried following:</p>
  
  <pre><code>values&lt;- read.table("mydatasetname.txt") 
  save(values,file="value.rda")
  </code></pre>
  
  <p>but when I type following command to load data:</p>
  
  <pre><code>data(values)
  
  Warning message: In data(values) : data set ‘values’ not found
  </code></pre>
  
  <p>Can anybody help?</p>
  
  <p>Nitin</p>