On 10.02.2010 13:09, vikrant wrote:
Dear R experts, Suppose I have a small r function myfunction<- function(x) { return(x*x) } and I save this function in a test.R text file. Suppose when I open a new seesion in R and I want to run this function myfunction(3) .how should i do it??
source("test.R") myfunction(3) Uwe Ligges ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.