how to convert text to columns Using R : [enter image description here][1]


Expected output

[enter image description here][2]


  [1]: https://i.stack.imgur.com/bhXT4.png
  [2]: https://i.stack.imgur.com/qubRq.png