Hi,

I have a rather simple question for writing my own function. Suppose I wrote a script "A" which called function B written by myself. Seems that I need to write the function B within the script A. Is there anyway to write B as a separate script (so that we have A and B two scripts within the same directory). I tried to do this but it seems that I must write function B within script A for them to work. I am very familiar with matlab, but new to R. I wonder how to do this, thanks.

James

 
---------------------------------
Be a PS3 game guru.

	[[alternative HTML version deleted]]

