title: R: read lines from .txt to int vectors
body: <p>I have file.txt containing long lines (of different length) of integers separates by whitespaces. Each line represents some array. I need to read them into R-vectors, get their medians, and collect these medians again in some R-vector, then plot it and return the minimum.</p>
  
  <p>I`m having trouble with reading ints from line to vector, or should I use another structure here? 
  Should the number of lines be specified, or can I use some loop until eof?</p>
  
  <p>Can anyone give me some example how to do that??
  Thanks a lot.</p>