title: is there a way to convert a string with numbers to a list of numeric values?
body: <p>Supose I have the following</p>
  <pre><code>X &lt;- &quot;1,2,3,4,5&quot;
  </code></pre>
  <p>How do I get the sequence of numeric values</p>
  <pre><code>#[1] 1 2 3 4 5
  </code></pre>
  <p>I've already seen this example <a href="https://statisticsglobe.com/convert-character-to-numeric-in-r/" rel="nofollow noreferrer">https://statisticsglobe.com/convert-character-to-numeric-in-r/</a> But it doesn't quite match with the problem above.</p>