title: R convert string to vector tokenize using " "
body: <p>I have a string :</p>
  
  <pre><code>string1 &lt;- "This is my string"
  </code></pre>
  
  <p>I would like to convert it to a vector that looks like this:</p>
  
  <pre><code>vector1
  "This"
  "is"
  "my"
  "string"
  </code></pre>
  
  <p>How do I do this?  I know I could use the <code>tm</code> package to convert to <code>termDocumentMatrix</code> and then convert to a matrix but it would alphabetize the words and I need them to stay in the same order.</p>