title: How do I create a vector?
body: <p>I want the data that is generated as a vector or matrix in R, what should I do?  </p>
  
  <pre><code>&gt; for(i in  1:100)  { if(i%%5==0 &amp;&amp; i%%8==5)  print(i) } 
  [1] 5 
  [1] 45 
  [1] 85
  </code></pre>