Hi,i would like to know what is the best way to write a procedure in R,it seems that when i run a script it doesn't wait for previouse code lines to be excuted,i would like to know how to force R to hold on a code line until it is processed,for example:i want to choose from a list the name of the sheet in which to do an analisys,then i want to run a goodness of fit test for the data on that chosen sheet,how can i do that?and if it is not too much i have couple more questions,1. how to retrieve the names of excel's file sheets to an array ?2. how to retrieve the names of excel's Sheet columns names to an array ? 
thanks a lot,Tsvi Sabo


      
	[[alternative HTML version deleted]]

