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?? -- View this message in context: http://n4.nabble.com/Running-rscript-in-windows-tp1475671p1475671.html Sent from the R help mailing list archive at Nabble.com.
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