[R] Running rscript in windows
Uwe Ligges
ligges at statistik.tu-dortmund.de
Wed Feb 10 16:44:45 CET 2010
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
More information about the R-help
mailing list