Converting dat file into array : <p>I am having a dat file which contains data of the form:</p>

<p>0.23548 0.34938 0.54311 0.20902 0.52414 0.323418 1</p>

<p>for each observation and separated by each line. How would one convert this into an array with the first 6 variables as X's and the last variable as Y?</p>

<p>Thank you again!</p>
