hello, 
if i need to read data from a file one line and one how can do?
I am using lines <- ("input.txt")
so that now the variable lines holds all the data in my file and i am using for loop to loop each 
lines[i] to get each line. 
for exmaple, right now my lines[i] = "1 2 3 44  54 23 24"
I am wonder how can i get each integer from ines[i], and how can i put each ingeter into a vector so that my vector i can hold all the data i want. 
I was thinking using a table to hold my data, but right now i think it is impossible because my data file is not in good table format, also my data file is too long which is about 60,000 pages. 
 
the second question is that: 
i want to declare some vectors to hold the data that I read from the file, so when i read one data from the file then i add one to the vectors. 
Example, if right now I have a vector called v <- ("10 3 8 5 9"), then i have a data "23" from the file, how i can add "23" to the vector without changing or deleting the previous data in my vector. 
 
Thank you so much for all your help.
 
C-ming
 
Jan 23, 2005

		
---------------------------------


	[[alternative HTML version deleted]]


